bison-patches
[Top][All Lists]
Advanced

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

[PATCH 4/5] build: locally disable new GCC warnings that fail on Flex ge


From: Akim Demaille
Subject: [PATCH 4/5] build: locally disable new GCC warnings that fail on Flex generated code
Date: Thu, 30 May 2013 10:50:18 +0200

* configure.ac: here.
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index df5670c..734825a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,7 +144,9 @@ if test "$enable_gcc_warnings" = yes; then
   done
   # Clang++ 3.2+ reject C code generated by Flex.
   gl_WARN_ADD([-Wno-null-conversion], [FLEX_SCANNER_CXXFLAGS])
-  # So does G++ 4.8 in std=c++11 mode.
+  # So does G++ 4.8...
+  gl_WARN_ADD([-Wno-sign-compare], [FLEX_SCANNER_CXXFLAGS])
+  # ... possiby in std=c++11 mode.
   gl_WARN_ADD([-Wno-zero-as-null-pointer-constant], [FLEX_SCANNER_CXXFLAGS])
   CXXFLAGS=$save_CXXFLAGS
   AC_LANG_POP([C++])
-- 
1.8.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]