[glom/glom-1-26] Disable long-long warnings because Python uses long long.



commit 2af637dca3135843dc349ab79d038a8ffc15e41b
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jun 5 22:03:54 2014 +0200

    Disable long-long warnings because Python uses long long.

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index abb3b82..13a28ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]