[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
- [PATCH 0/5] {master} minor fixes, Akim Demaille, 2013/05/30
- [PATCH 3/5] fix a memory leak, Akim Demaille, 2013/05/30
- [PATCH 4/5] build: locally disable new GCC warnings that fail on Flex generated code,
Akim Demaille <=
- [PATCH 1/5] build: be sure to include config.h first in the generated parser, Akim Demaille, 2013/05/30
- [PATCH 5/5] xml: use %empty in the text output, Akim Demaille, 2013/05/30
- [PATCH 2/5] regen, Akim Demaille, 2013/05/30
- Re: [PATCH 0/5] {master} minor fixes, Akim Demaille, 2013/05/30