summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gcc10.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/flags/gcc10.sh')
-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"