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



commit 6c984b8146f5d1c64effbee6de28a091d57d2437
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Dec 23 15:20:58 2010 +0100

    Fix the build with --enable-warnings=fatal.
    
    * configure.ac: Use -no-long-long to avoid an (apparently new) compiler
    warning about long long not being supported by C++98. glibmm already had
    this option.

 ChangeLog    |    8 ++++++++
 configure.ac |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ca03439..7c1d46a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-23  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with --enable-warnings=fatal.
+
+	* configure.ac: Use -no-long-long to avoid an (apparently new) compiler 
+	warning about long long not being supported by C++98. glibmm already had 
+	this option.
+
 2.91.7:
 
 2010-12-22  Murray Cumming  <murrayc murrayc com>
diff --git a/configure.ac b/configure.ac
index 45b43a4..5bbf7de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@ AC_CHECK_FUNCS([flockfile funlockfile getc_unlocked mkfifo])
 # Evaluate the --enable-warnings=level option.
 MM_ARG_ENABLE_WARNINGS([GTKMM_WXXFLAGS],
                        [-Wall],
-                       [-pedantic -Wall -Wextra -DGSEAL_ENABLE],
+                       [-pedantic -Wall -Wextra  -Wno-long-long -DGSEAL_ENABLE],
                        [G PANGO ATK GDK GDK_PIXBUF GTK ATKMM PANGOMM CAIROMM])
 
 AC_CONFIG_FILES([Makefile



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