From acf9d2257f3005df8ad28c8908a44a13725c86ee Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Sat, 13 Jul 2019 10:37:36 +0100 Subject: [PATCH] configure.ac: silenced a few Clang warnings (too noisy, not very helpful). --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 23cb5122..6b281756 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.40.0