]> granicus.if.org Git - re2c/commitdiff
configure.ac: silenced a few Clang warnings (too noisy, not very helpful).
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 13 Jul 2019 09:37:36 +0000 (10:37 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 13 Jul 2019 09:37:36 +0000 (10:37 +0100)
configure.ac

index 23cb5122e938a7a8afc9cc93e368f64fdae83e36..6b281756465c7a0a17b91072a10db40d223b5389 100644 (file)
@@ -91,12 +91,14 @@ TRY_CXXFLAG([-Wsign-conversion])
 TRY_CXXFLAG([-Werror=return-type])
 TRY_CXXFLAG([-O2])
 TRY_CXXFLAG([-Weverything], m4_join([ ],
-    [-Wno-unknown-warning-option],  dnl CLANG eats some GCC options only to warn they are unknown
-    [-Wno-reserved-id-macro],       dnl to allow header guards of the form '_RE2C_PATH_TO_HEADER_BASENAME_'
+    [-Wno-unknown-warning-option], dnl CLANG eats some GCC options only to warn they are unknown
+    [-Wno-reserved-id-macro], dnl to allow header guards of the form '_RE2C_PATH_TO_HEADER_BASENAME_'
     [-Wno-padded],
-    [-Wno-old-style-cast],          dnl RE2C-generated lexer has lots of C-syle casts because of 're2c:yych:conversion = 1;'
+    [-Wno-old-style-cast], dnl RE2C-generated lexer has lots of C-syle casts because of 're2c:yych:conversion = 1;'
     [-Wno-nested-anon-types],
-    [-Wno-global-constructors]))    dnl initialization of global constants with std::numeric_limits<...> (mostly for size_t)
+    [-Wno-global-constructors] dnl initialization of global constants with std::numeric_limits<...> (mostly for size_t)
+    [-Wno-shadow-field-in-constructor] dnl using same names in ctor seems more like a feature
+    [-Wno-undefined-func-template])) dnl explicit specialization to reduce build dependencies
 
 
 # needed by src/c99_stdint.h