summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-18 06:16:56 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-18 09:29:03 +0300
commit38fde36893d90ee061eba223702bc625ea30803d (patch)
tree84a581d002cac13cdc466dc23f9497f38e4cea3e /tools
parentf8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea (diff)
downloadmv-38fde36893d90ee061eba223702bc625ea30803d.tar.gz
mv-38fde36893d90ee061eba223702bc625ea30803d.tar.bz2
mv-38fde36893d90ee061eba223702bc625ea30803d.tar.xz
mv-38fde36893d90ee061eba223702bc625ea30803d.zip
Fix compilation error after switch port merged
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"