summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gcc7.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/flags/gcc7.sh')
-rwxr-xr-xtools/ci/flags/gcc7.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/flags/gcc7.sh b/tools/ci/flags/gcc7.sh
index 8acc95740..cbe3022b8 100755
--- a/tools/ci/flags/gcc7.sh
+++ b/tools/ci/flags/gcc7.sh
@@ -78,7 +78,8 @@ export CXXFLAGS="${CXXFLAGS} -Wdeprecated"
export CXXFLAGS="${CXXFLAGS} -Wdeprecated-declarations"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wdesignated-init"
-export CXXFLAGS="${CXXFLAGS} -Wdisabled-optimization"
+# show useless warnings
+#export CXXFLAGS="${CXXFLAGS} -Wdisabled-optimization"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wdiscarded-array-qualifiers"
#export CXXFLAGS="${CXXFLAGS} -Wdiscarded-qualifiers"