From fdf8230a80fa418e4b46dc489e5b2dda7901b55c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Sep 2019 03:27:15 +0300 Subject: Disable unsupported compiler flags for gcc-9 --- tools/ci/flags/gccsnapshot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/ci/flags/gccsnapshot.sh') diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 0064079e4..52539b36e 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -105,7 +105,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond" export CXXFLAGS="${CXXFLAGS} -Wempty-body" export CXXFLAGS="${CXXFLAGS} -Wendif-labels" export CXXFLAGS="${CXXFLAGS} -Wenum-compare" -export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" +# not for C++ +#export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" export CXXFLAGS="${CXXFLAGS} -Wextra" export CXXFLAGS="${CXXFLAGS} -Wextra-semi" -- cgit v1.2.3-70-g09d2