From 38fde36893d90ee061eba223702bc625ea30803d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 May 2020 06:16:56 +0300 Subject: Fix compilation error after switch port merged --- tools/ci/flags/gcc10.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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" -- cgit v1.2.3-70-g09d2