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



commit b84b4050d435563a8f607572bf8d8cffe42b6c05
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Apr 17 15:24:32 2011 +0200

    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 5c0058d..f471a16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-04-17  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.
+
+2011-04-17  Murray Cumming  <murrayc murrayc com>
+
 	Do not require mm-common during the tarball build.
 
 	* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call.
diff --git a/configure.ac b/configure.ac
index 838565f..02733df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ MM_ARG_WITH_TAGFILE_DOC([glibmm-2.4.tag], [glibmm-2.4])
 
 MM_ARG_ENABLE_WARNINGS([LIBXMLXX_WXXFLAGS],
         [-Wall],
-        [-pedantic -Wall -Wextra])
+        [-pedantic -Wall -Wextra -Wno-long-long])
 
 AC_PATH_PROG([XMLLINT], [xmllint], [xmllint])
 AC_ARG_VAR([XMLLINT], [path to xmllint utility])



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