Commit 9af734c3 authored by Murray Cumming's avatar Murray Cumming
Browse files

Disable long-long warnings because Python uses long long.

parent d8730c41
......@@ -207,6 +207,7 @@ MM_INIT_MODULE([libglom-1.26])
MM_CONFIG_DOCTOOL_DIR([docs/libglom_reference])
# Evaluate the --enable-warnings=level option.
# We use -Wno-long-long because the Python headers use long long (at least in Python 2.7).
AC_LANG([C])
MM_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
[-Wall],
......@@ -215,7 +216,7 @@ MM_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([GLOM_WXXFLAGS],
[-Wall],
[-pedantic -Wall -Wextra -Wformat-security -Wno-missing-field-initializers -DGSEAL_ENABLE],
[-pedantic -Wall -Wextra -Wformat-security -Wno-long-long -Wno-missing-field-initializers -DGSEAL_ENABLE],
[G GDK GDK_PIXBUF GTK GDA GLIBMM GDKMM CAIROMM PANGOMM GTKMM SIGCXX LIBGDAMM])
AC_CHECK_FUNCS([strptime])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment