From 6b868347ff595ef9e9d2881a39b6f37d8085095f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Nov 2018 21:51:14 +0300 Subject: Fix compilation flags for gcc-snapshot. --- tools/ci/flags/gccsnapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 738721678..0064079e4 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -31,7 +31,7 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Warray-temporaries" #export CXXFLAGS="${CXXFLAGS} -Wassign-intercept" -export CXXFLAGS="${CXXFLAGS} -Wattribute-alias" +export CXXFLAGS="${CXXFLAGS} -Wattribute-alias=2" export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" -- cgit v1.2.3-70-g09d2