summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-18 06:18:21 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-18 09:29:03 +0300
commit2e346040fe46806bc86ca40d418f4769c0d8ea50 (patch)
treef75b4b6fe1b8db94ae093d0341daafa5f713ea1b /tools/ci
parent38fde36893d90ee061eba223702bc625ea30803d (diff)
downloadplus-2e346040fe46806bc86ca40d418f4769c0d8ea50.tar.gz
plus-2e346040fe46806bc86ca40d418f4769c0d8ea50.tar.bz2
plus-2e346040fe46806bc86ca40d418f4769c0d8ea50.tar.xz
plus-2e346040fe46806bc86ca40d418f4769c0d8ea50.zip
Add new flags into gc110 flags
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/flags/gcc10.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/flags/gcc10.sh b/tools/ci/flags/gcc10.sh
index 61caac388..d83ecd4ec 100755
--- a/tools/ci/flags/gcc10.sh
+++ b/tools/ci/flags/gcc10.sh
@@ -49,7 +49,8 @@ export CXXFLAGS="${CXXFLAGS} -Wbuiltin-macro-redefined"
#export CXXFLAGS="${CXXFLAGS} -Wc++11-compat"
#export CXXFLAGS="${CXXFLAGS} -Wc++14-compat"
#export CXXFLAGS="${CXXFLAGS} -Wc++17-compat"
-export CXXFLAGS="${CXXFLAGS} -Wc++1z-compat"
+#export CXXFLAGS="${CXXFLAGS} -Wc++1z-compat"
+export CXXFLAGS="${CXXFLAGS} -Wc++2a-compat"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wc-binding-type"
#export CXXFLAGS="${CXXFLAGS} -Wc90-c99-compat"
@@ -241,6 +242,7 @@ export CXXFLAGS="${CXXFLAGS} -Woverloaded-virtual"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Woverride-init"
#export CXXFLAGS="${CXXFLAGS} -Woverride-init-side-effects"
+#export CXXFLAGS="${CXXFLAGS} -Woverwrite-recursive"
export CXXFLAGS="${CXXFLAGS} -Wpacked"
export CXXFLAGS="${CXXFLAGS} -Wpacked-bitfield-compat"
export CXXFLAGS="${CXXFLAGS} -Wpacked-not-aligned"