Commit 7d939c0e authored by Kenton Varda's avatar Kenton Varda

Work around broken warnings on GCC 4.

parent df6fbc2c
...@@ -238,8 +238,9 @@ if [ $IS_CLANG = yes ]; then ...@@ -238,8 +238,9 @@ if [ $IS_CLANG = yes ]; then
export CXXFLAGS="$CXXFLAGS -Wno-error=unused-command-line-argument" export CXXFLAGS="$CXXFLAGS -Wno-error=unused-command-line-argument"
else else
# GCC emits uninitialized warnings all over and they seem bogus. We use valgrind to test for # GCC emits uninitialized warnings all over and they seem bogus. We use valgrind to test for
# uninitialized memory usage later on. # uninitialized memory usage later on. GCC 4 also emits strange bogus warnings with
CXXFLAGS="$CXXFLAGS -Wno-maybe-uninitialized" # -Wstrict-overflow, so we disable it.
CXXFLAGS="$CXXFLAGS -Wno-maybe-uninitialized -Wno-strict-overflow"
fi fi
cd c++ cd c++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment