From 817c891cf17be64bdfef2fd03ae597727951478e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2020 11:13:14 +0300 Subject: Disable warning -Wenum-conversion in gcc snapshot and fedora ci builds --- tools/ci/flags/gccfedora.sh | 3 ++- tools/ci/flags/gccsnapshot.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/ci/flags/gccfedora.sh b/tools/ci/flags/gccfedora.sh index dd6d47e65..056e18c04 100755 --- a/tools/ci/flags/gccfedora.sh +++ b/tools/ci/flags/gccfedora.sh @@ -107,7 +107,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond" export CXXFLAGS="${CXXFLAGS} -Wempty-body" export CXXFLAGS="${CXXFLAGS} -Wendif-labels" export CXXFLAGS="${CXXFLAGS} -Wenum-compare" -export CXXFLAGS="${CXXFLAGS} -Wenum-conversion" +# not for C++ +#export CXXFLAGS="${CXXFLAGS} -Wenum-conversion" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index dd6d47e65..056e18c04 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -107,7 +107,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond" export CXXFLAGS="${CXXFLAGS} -Wempty-body" export CXXFLAGS="${CXXFLAGS} -Wendif-labels" export CXXFLAGS="${CXXFLAGS} -Wenum-compare" -export CXXFLAGS="${CXXFLAGS} -Wenum-conversion" +# not for C++ +#export CXXFLAGS="${CXXFLAGS} -Wenum-conversion" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" -- cgit v1.2.3-70-g09d2