summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/flags/gcc10.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ci/flags/gcc10.sh b/tools/ci/flags/gcc10.sh
index f85c044f1..61caac388 100755
--- a/tools/ci/flags/gcc10.sh
+++ b/tools/ci/flags/gcc10.sh
@@ -28,6 +28,7 @@ export CXXFLAGS="${CXXFLAGS} -Walloca"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wampersand"
#export CXXFLAGS="${CXXFLAGS} -Wargument-mismatch"
+export CXXFLAGS="${CXXFLAGS} -Warith-conversion"
export CXXFLAGS="${CXXFLAGS} -Warray-bounds"
# +++ need try it
export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2"