diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:27:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:30:11 +0300 |
commit | fdf8230a80fa418e4b46dc489e5b2dda7901b55c (patch) | |
tree | e716692c1a25c465f3550827d978ba6284b596ec /tools/ci/flags | |
parent | b0275108a0b5603a758104e7f6640606092aafed (diff) | |
download | plus-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.gz plus-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.bz2 plus-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.xz plus-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.zip |
Disable unsupported compiler flags for gcc-9
Diffstat (limited to 'tools/ci/flags')
-rwxr-xr-x | tools/ci/flags/gcc9.sh | 4 | ||||
-rwxr-xr-x | tools/ci/flags/gccfedora.sh | 1 | ||||
-rwxr-xr-x | tools/ci/flags/gccsnapshot.sh | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/tools/ci/flags/gcc9.sh b/tools/ci/flags/gcc9.sh index 807323ed4..b28cf7e69 100755 --- a/tools/ci/flags/gcc9.sh +++ b/tools/ci/flags/gcc9.sh @@ -116,7 +116,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" +#export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" + export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" export CXXFLAGS="${CXXFLAGS} -Wextra" export CXXFLAGS="${CXXFLAGS} -Wextra-semi" @@ -149,6 +150,7 @@ export CXXFLAGS="${CXXFLAGS} -Wignored-qualifiers" #export CXXFLAGS="${CXXFLAGS} -Wimplicit" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough" export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=5" +# not for C++ #export CXXFLAGS="${CXXFLAGS} -Wimplicit-function-declaration" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-int" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-interface" diff --git a/tools/ci/flags/gccfedora.sh b/tools/ci/flags/gccfedora.sh index 4c9fc0829..3e462fbfd 100755 --- a/tools/ci/flags/gccfedora.sh +++ b/tools/ci/flags/gccfedora.sh @@ -133,6 +133,7 @@ export CXXFLAGS="${CXXFLAGS} -Wignored-qualifiers" #export CXXFLAGS="${CXXFLAGS} -Wimplicit" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough" export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=5" +# not for C++ #export CXXFLAGS="${CXXFLAGS} -Wimplicit-function-declaration" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-int" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-interface" 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" |