[atkmm] Fix the build with --enable-warnings=fatal.



commit 814117be1c7b04081e049ca79b64b3a8cab7b35a
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jan 7 23:28:23 2011 +0100

    Fix the build with --enable-warnings=fatal.
    
    	* configure.ac: Add no-long-long to avoid a warning caused by a newer glib.
    	Also avoid use of deprecated GLIBMM API and make sure that GSEAL is defined.

 ChangeLog    |    7 +++++++
 configure.ac |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5de3ab5..11a796e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-07  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with --enable-warnings=fatal.
+
+	* configure.ac: Add no-long-long to avoid a warning caused by a newer glib.
+	Also avoid use of deprecated GLIBMM API and make sure that GSEAL is defined.
+
 2.22.1:
 
 2010-11-20  Murray Cumming  <murrayc murrayc com>
diff --git a/configure.ac b/configure.ac
index 0b31455..b6b5557 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,8 +60,8 @@ MM_ARG_WITH_TAGFILE_DOC([glibmm-2.4.tag], [glibmm-2.4])
 AC_LANG([C++])
 MM_ARG_ENABLE_WARNINGS([ATKMM_WXXFLAGS],
                        [-Wall],
-                       [-pedantic -Wall -Wextra -DGSEAL_ENABLE],
-                       [G ATK])
+                       [-pedantic -Wall -Wextra -Wno-long-long -DGSEAL_ENABLE],
+                       [G ATK GLIBMM])
 
 AC_CONFIG_FILES([Makefile
                  codegen/Makefile



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