diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-04 01:43:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-04 01:43:42 +0300 |
commit | 65bccb4fc48707a8bcccedaa57a87468ad8b7349 (patch) | |
tree | 49d7821a48bd8545afb0f917cec185798f7e034c | |
parent | 2e82d3003315806076a53df23064ba744e491fc2 (diff) | |
download | manaverse-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.gz manaverse-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.bz2 manaverse-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.xz manaverse-65bccb4fc48707a8bcccedaa57a87468ad8b7349.zip |
Add compiler flag -Wno-attributes for prevent warnings about packed attributes.
37 files changed, 53 insertions, 37 deletions
diff --git a/build/bcmake b/build/bcmake index ec0234367..4cfc60646 100755 --- a/build/bcmake +++ b/build/bcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x" +export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x -Wno-attributes" #export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log diff --git a/build/bmake b/build/bmake index 231525118..292c8c7bf 100755 --- a/build/bmake +++ b/build/bmake @@ -13,7 +13,7 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ -std=gnu++1z \ --fno-var-tracking" +-fno-var-tracking -Wno-attributes" source ./build/gcc6flags.sh diff --git a/build/bmake0 b/build/bmake0 index addcf9032..a8c44b597 100755 --- a/build/bmake0 +++ b/build/bmake0 @@ -26,7 +26,8 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \ -Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ -Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \ -Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \ --Wnarrowing -Wzero-as-null-pointer-constant" +-Wnarrowing -Wzero-as-null-pointer-constant \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmake44 b/build/bmake44 index a347dd7cb..06c8d8d9a 100755 --- a/build/bmake44 +++ b/build/bmake44 @@ -35,7 +35,8 @@ export CXXFLAGS="-Wmissing-field-initializers \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ -Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ --Wpacked -Wshadow -D_FORTIFY_SOURCE=2" +-Wpacked -Wshadow -D_FORTIFY_SOURCE=2 \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmake45 b/build/bmake45 index 00cb09413..b7509087e 100755 --- a/build/bmake45 +++ b/build/bmake45 @@ -37,7 +37,8 @@ export CXXFLAGS="-Wunreachable-code -Wmissing-field-initializers \ -Wpacked -Wshadow -Wunused -Wsynth \ -Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \ -Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ --Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2" +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmake46 b/build/bmake46 index a30b8550a..f6ee3b5f4 100755 --- a/build/bmake46 +++ b/build/bmake46 @@ -50,7 +50,8 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \ -Wstack-protector -Wshadow -Wunused -Wunused-macros -Wsynth \ -Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \ -Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ --Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++0x-compat" +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++0x-compat \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmakedebug b/build/bmakedebug index c7c28b079..41ad0eb87 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -20,7 +20,7 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \ -fsanitize=enum -fsanitize=vptr -fsanitize=bounds-strict \ -std=gnu++1z \ --fno-var-tracking" +-fno-var-tracking -Wno-attributes" source ./build/gcc6flags.sh diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2 index cd564b4a4..d3bd476be 100755 --- a/build/bmakedebugsdl2 +++ b/build/bmakedebugsdl2 @@ -20,7 +20,7 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \ -fsanitize=enum -fsanitize=vptr \ -std=gnu++1z \ --fno-var-tracking" +-fno-var-tracking -Wno-attributes" source ./build/gcc6flags.sh diff --git a/build/bmakemem b/build/bmakemem index b8cb79dbf..e5de60ccf 100755 --- a/build/bmakemem +++ b/build/bmakemem @@ -36,7 +36,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable \ -fsched-pressure \ --Wconditionally-supported -Wdate-time" +-Wconditionally-supported -Wdate-time \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmakespeed b/build/bmakespeed index ad0fec601..f9a3bc0bd 100755 --- a/build/bmakespeed +++ b/build/bmakespeed @@ -16,7 +16,7 @@ export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -ffast-math \ -funsafe-loop-optimizations -flto -fwhole-program \ -march=native -fsched-pressure -std=gnu++1z \ --fno-var-tracking" +-fno-var-tracking -Wno-attributes" source ./build/gcc6flags.sh diff --git a/build/bmaketest b/build/bmaketest index 6051a0922..6deff7d4c 100755 --- a/build/bmaketest +++ b/build/bmaketest @@ -12,7 +12,7 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ -std=gnu++1z \ --fno-var-tracking" +-fno-var-tracking -Wno-attributes" source ./build/gcc6flags.sh diff --git a/build/dcmake b/build/dcmake index 9a1b61a93..96957472a 100755 --- a/build/dcmake +++ b/build/dcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x -funswitch-loops -funsafe-loop-optimizations" +export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x -funswitch-loops -funsafe-loop-optimizations -Wno-attributes" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j8 VERBOSE=1 2>>build/make.log diff --git a/build/gcc6flags.sh b/build/gcc6flags.sh index e3632a938..94e0cf6e4 100755 --- a/build/gcc6flags.sh +++ b/build/gcc6flags.sh @@ -23,7 +23,8 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Warray-temporaries" #export CXXFLAGS="${CXXFLAGS} -Wassign-intercept" -export CXXFLAGS="${CXXFLAGS} -Wattributes" +# show warnings for padding +#export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" export CXXFLAGS="${CXXFLAGS} -Wbool-compare" diff --git a/build/pcmake b/build/pcmake index 543e906ce..fed0a4d68 100755 --- a/build/pcmake +++ b/build/pcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -g1 -O2 -pg -ffast-math -std=gnu++0x" +export CXXFLAGS="-Wall -g1 -O2 -pg -ffast-math -std=gnu++0x -Wno-attributes" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j8 VERBOSE=1 2>>build/make.log diff --git a/build/pmake b/build/pmake index e1cf775c9..f853353e1 100755 --- a/build/pmake +++ b/build/pmake @@ -10,7 +10,7 @@ export CXX=g++ export LANG=C -export CXXFLAGS="-g -pg -fno-inline -fno-omit-frame-pointer" +export CXXFLAGS="-g -pg -fno-inline -fno-omit-frame-pointer -Wno-attributes" autoreconf -i cd build/tmp diff --git a/build/pmake46 b/build/pmake46 index 9d8201306..2237158cc 100755 --- a/build/pmake46 +++ b/build/pmake46 @@ -19,7 +19,8 @@ export CXXFLAGS="-pg -fno-inline -Wunreachable-code -Wmissing-field-initializers -Wunused-parameter -Wredundant-decls -Wlogical-op \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ --Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe" +-Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ +-Wno-attributes" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/tools/ci/flags/gcc6.sh b/tools/ci/flags/gcc6.sh index 095a878ab..c245ac72b 100755 --- a/tools/ci/flags/gcc6.sh +++ b/tools/ci/flags/gcc6.sh @@ -23,7 +23,8 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Warray-temporaries" #export CXXFLAGS="${CXXFLAGS} -Wassign-intercept" -export CXXFLAGS="${CXXFLAGS} -Wattributes" +# show warning for padding +#export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" export CXXFLAGS="${CXXFLAGS} -Wbool-compare" diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 0a14cfb02..7297c3a8b 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -25,7 +25,8 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Warray-temporaries" #export CXXFLAGS="${CXXFLAGS} -Wassign-intercept" -export CXXFLAGS="${CXXFLAGS} -Wattributes" +# show warning for padding +#export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" export CXXFLAGS="${CXXFLAGS} -Wbool-compare" diff --git a/tools/ci/jobs/clang38.sh b/tools/ci/jobs/clang38.sh index 5399f4b27..7501f2b4f 100755 --- a/tools/ci/jobs/clang38.sh +++ b/tools/ci/jobs/clang38.sh @@ -17,7 +17,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio -Wno-shorten-64-to-32 -Wno-missing-variable-declarations \ -Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \ -Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \ --Wno-variadic-macros -Wno-double-promotion \ +-Wno-variadic-macros -Wno-double-promotion -Wno-attributes \ -Wpointer-bool-conversion" do_init diff --git a/tools/ci/jobs/clang39.sh b/tools/ci/jobs/clang39.sh index 5a62a0941..cb090f151 100755 --- a/tools/ci/jobs/clang39.sh +++ b/tools/ci/jobs/clang39.sh @@ -17,7 +17,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio -Wno-shorten-64-to-32 -Wno-missing-variable-declarations \ -Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \ -Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \ --Wno-variadic-macros -Wno-double-promotion \ +-Wno-variadic-macros -Wno-double-promotion -Wno-attributes \ -Wpointer-bool-conversion" do_init diff --git a/tools/ci/jobs/clang39.sh_c++11.sh b/tools/ci/jobs/clang39.sh_c++11.sh index ac44cdf49..9186eeddf 100755 --- a/tools/ci/jobs/clang39.sh_c++11.sh +++ b/tools/ci/jobs/clang39.sh_c++11.sh @@ -17,7 +17,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio -Wno-shorten-64-to-32 -Wno-missing-variable-declarations \ -Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \ -Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \ --Wno-variadic-macros -Wno-double-promotion \ +-Wno-variadic-macros -Wno-double-promotion -Wno-attributes \ -Wpointer-bool-conversion \ -O3 -std=c++11 -Wno-c++98-compat-pedantic" diff --git a/tools/ci/jobs/clang39_sdl2.sh b/tools/ci/jobs/clang39_sdl2.sh index d4a3ffe21..bdd09ff6a 100755 --- a/tools/ci/jobs/clang39_sdl2.sh +++ b/tools/ci/jobs/clang39_sdl2.sh @@ -17,7 +17,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio -Wno-shorten-64-to-32 -Wno-missing-variable-declarations \ -Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \ -Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \ --Wno-variadic-macros -Wno-double-promotion \ +-Wno-variadic-macros -Wno-double-promotion -Wno-attributes \ -Wpointer-bool-conversion" do_init diff --git a/tools/ci/jobs/clang40.sh b/tools/ci/jobs/clang40.sh index f8042878f..fccf52618 100755 --- a/tools/ci/jobs/clang40.sh +++ b/tools/ci/jobs/clang40.sh @@ -17,7 +17,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio -Wno-shorten-64-to-32 -Wno-missing-variable-declarations \ -Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \ -Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \ --Wno-variadic-macros -Wno-double-promotion \ +-Wno-variadic-macros -Wno-double-promotion -Wno-attributes \ -Wpointer-bool-conversion" do_init diff --git a/tools/ci/jobs/gcc48_c++11.sh b/tools/ci/jobs/gcc48_c++11.sh index 90490f8a0..5e894de7f 100755 --- a/tools/ci/jobs/gcc48_c++11.sh +++ b/tools/ci/jobs/gcc48_c++11.sh @@ -36,7 +36,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Woverlength-strings -Wpedantic -Wsign-compare -Wsizeof-pointer-memaccess \ -Wsuggest-attribute=format -Wtype-limits -Wuninitialized \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ --Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable" +-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable \ +-Wno-attributes" do_init run_configure --enable-werror diff --git a/tools/ci/jobs/gcc49_c++11.sh b/tools/ci/jobs/gcc49_c++11.sh index 2ff8b6477..12165a232 100755 --- a/tools/ci/jobs/gcc49_c++11.sh +++ b/tools/ci/jobs/gcc49_c++11.sh @@ -37,7 +37,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wsuggest-attribute=format -Wtype-limits -Wuninitialized \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable \ --fno-var-tracking -Woverloaded-virtual" +-fno-var-tracking -Wno-attributes \ +-Woverloaded-virtual" do_init run_configure --enable-werror diff --git a/tools/ci/jobs/gcc5.sh b/tools/ci/jobs/gcc5.sh index 0fab3f9d4..edc8f90cf 100755 --- a/tools/ci/jobs/gcc5.sh +++ b/tools/ci/jobs/gcc5.sh @@ -39,7 +39,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wsized-deallocation \ -Wlogical-not-parentheses -Woverloaded-virtual \ diff --git a/tools/ci/jobs/gcc5_c++11.sh b/tools/ci/jobs/gcc5_c++11.sh index 86bf0d470..16879aef9 100755 --- a/tools/ci/jobs/gcc5_c++11.sh +++ b/tools/ci/jobs/gcc5_c++11.sh @@ -39,7 +39,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ -Wlogical-not-parentheses -Woverloaded-virtual" diff --git a/tools/ci/jobs/gcc5_sanitize.sh b/tools/ci/jobs/gcc5_sanitize.sh index 624968ea2..0d188a3b0 100755 --- a/tools/ci/jobs/gcc5_sanitize.sh +++ b/tools/ci/jobs/gcc5_sanitize.sh @@ -51,7 +51,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wc++14-compat -Wsized-deallocation -Wlogical-not-parentheses \ -Woverloaded-virtual -Warray-bounds -Wbool-compare -Wchar-subscripts \ -Wcomment -Wmissing-braces -Wnonnull -Wopenmp-simd -Wparentheses \ --Wreturn-type -Wsequence-point -Wswitch" +-Wreturn-type -Wsequence-point -Wswitch \ +-Wno-attributes" do_init run_configure --enable-werror diff --git a/tools/ci/jobs/gcc5_sanitize_tests.sh b/tools/ci/jobs/gcc5_sanitize_tests.sh index b5b944780..66d4975b4 100755 --- a/tools/ci/jobs/gcc5_sanitize_tests.sh +++ b/tools/ci/jobs/gcc5_sanitize_tests.sh @@ -52,7 +52,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wc++14-compat -Wsized-deallocation -Wlogical-not-parentheses \ -Woverloaded-virtual -Warray-bounds -Wbool-compare -Wchar-subscripts \ -Wcomment -Wmissing-braces -Wnonnull -Wopenmp-simd -Wparentheses \ --Wreturn-type -Wsequence-point -Wswitch" +-Wreturn-type -Wsequence-point -Wswitch \ +-Wno-attributes" do_init run_configure --enable-unittests=yes $* diff --git a/tools/ci/jobs/gcc5_sdl2.sh b/tools/ci/jobs/gcc5_sdl2.sh index 8203459fe..40e6f4d2e 100755 --- a/tools/ci/jobs/gcc5_sdl2.sh +++ b/tools/ci/jobs/gcc5_sdl2.sh @@ -40,7 +40,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wsized-deallocation \ -Wlogical-not-parentheses \ diff --git a/tools/ci/jobs/gcc5_sdl2_c++11.sh b/tools/ci/jobs/gcc5_sdl2_c++11.sh index b5809d0dd..4341221e6 100755 --- a/tools/ci/jobs/gcc5_sdl2_c++11.sh +++ b/tools/ci/jobs/gcc5_sdl2_c++11.sh @@ -40,7 +40,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ -Wlogical-not-parentheses" diff --git a/tools/ci/jobs/gcc5_sdl2_tests.sh b/tools/ci/jobs/gcc5_sdl2_tests.sh index 4d335a1ad..c44128562 100755 --- a/tools/ci/jobs/gcc5_sdl2_tests.sh +++ b/tools/ci/jobs/gcc5_sdl2_tests.sh @@ -40,7 +40,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ -Wlogical-not-parentheses -Woverloaded-virtual" diff --git a/tools/ci/jobs/gcc5_tarball.sh b/tools/ci/jobs/gcc5_tarball.sh index 508e8f307..604b0a995 100755 --- a/tools/ci/jobs/gcc5_tarball.sh +++ b/tools/ci/jobs/gcc5_tarball.sh @@ -39,7 +39,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ -Wlogical-not-parentheses -Woverloaded-virtual" diff --git a/tools/ci/jobs/gcc5_tests.sh b/tools/ci/jobs/gcc5_tests.sh index 4ebaadbeb..c5e95275e 100755 --- a/tools/ci/jobs/gcc5_tests.sh +++ b/tools/ci/jobs/gcc5_tests.sh @@ -40,7 +40,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ -Wconditionally-supported -Wdate-time \ --fno-var-tracking \ +-fno-var-tracking -Wno-attributes \ -Wopenmp-simd -Wformat-signedness \ -Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ -Wlogical-not-parentheses -Woverloaded-virtual" diff --git a/tools/ci/jobs/gcc6_lto.sh b/tools/ci/jobs/gcc6_lto.sh index 0a638828f..53c484d59 100755 --- a/tools/ci/jobs/gcc6_lto.sh +++ b/tools/ci/jobs/gcc6_lto.sh @@ -12,7 +12,8 @@ aptget_install gcc-6 g++-6 \ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev export CXXFLAGS="-ggdb3 -pipe -ffast-math -O9 -flto -fwhole-program \ --fno-omit-frame-pointer -funswitch-loops -D_FORTIFY_SOURCE=2 -std=gnu++1z" +-fno-omit-frame-pointer -funswitch-loops -D_FORTIFY_SOURCE=2 -std=gnu++1z \ +-Wno-attributes" source ./tools/ci/flags/gcc6.sh diff --git a/tools/ci/jobs/gcc6_tests.sh b/tools/ci/jobs/gcc6_tests.sh index d91ea87fd..1a2fdb978 100755 --- a/tools/ci/jobs/gcc6_tests.sh +++ b/tools/ci/jobs/gcc6_tests.sh @@ -14,7 +14,8 @@ aptget_install gcc-6 g++-6 \ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \ --std=gnu++1z -Wformat=1" +-std=gnu++1z -Wformat=1 \ +-Wno-attributes" source ./tools/ci/flags/gcc6.sh diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh index 70a0ff3f0..a32b0baf1 100755 --- a/tools/ci/jobs/gccsnapshot.sh +++ b/tools/ci/jobs/gccsnapshot.sh @@ -14,7 +14,8 @@ aptget_install gcc-snapshot \ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \ --std=gnu++1z -Wformat=1" +-std=gnu++1z -Wformat=1 \ +-Wno-attributes" source ./tools/ci/flags/gccsnapshot.sh |