[glom] Suppress warning for missing field initializers



commit 4d5201b5b63c94522bbf6b63b83f4c98a2ffd4dc
Author: Daniel Elstner <danielk openismus com>
Date:   Fri Jul 24 09:21:43 2009 +0200

    Suppress warning for missing field initializers
    
    * configure.ac (GLOM_WXXFLAGS): Add -Wno-missing-field-initializers to
    the warning options at level max or higher, so that the Python module
    code will build with both Python 2.5 and Python 2.6 without producing
    warnings.

 ChangeLog    |    9 +++++++++
 configure.ac |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3ad172c..1df89e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-07-24  Daniel Elstner  <danielk openismus com>
+
+	Suppress warning for missing field initializers
+
+	* configure.ac (GLOM_WXXFLAGS): Add -Wno-missing-field-initializers to
+	the warning options at level max or higher, so that the Python module
+	code will build with both Python 2.5 and Python 2.6 without producing
+	warnings.
+
 2009-07-24  Murray Cumming  <murrayc murrayc com>
 
 	Catch unknown command-line options.
diff --git a/configure.ac b/configure.ac
index 71213dd..2f416f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,7 +169,7 @@ DK_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
                        [G GDK GDK_PIXBUF GTK])
 AC_LANG([C++])
 DK_ARG_ENABLE_WARNINGS([GLOM_WXXFLAGS],
-                       [-Wall], [-Wall -Wextra],
+		       [-Wall], [-Wall -Wextra -Wno-missing-field-initializers],
                        [G GDK GDK_PIXBUF GTK GLIBMM GTKMM])
 AC_CHECK_FUNCS([strptime])
 # Get the compiler and linker flags for embedding Python



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