commit | 22295033024f1f5e17752cd15a29f2f6a66aca4b | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Tue Apr 29 22:57:40 2014 -0700 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed Apr 30 14:42:12 2014 -0700 |
tree | af180c37d534c5586087aaca09d979e657bde9ec | |
parent | 6ee6e07e6f1c068f7658a616982ab785f3bd8b22 [diff] [blame] |
build: downgrade maybe-uninitialized from an error to a warning maybe-uninitialized has false positives in gcc 4.8 due to Boost ticket #9134 https://svn.boost.org/trac/boost/ticket/9134 refs #1560 Change-Id: I44e2456b31f3a102d4a447da0dc81c23efb31f3b
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py index 741791e..0df0347 100644 --- a/.waf-tools/default-compiler-flags.py +++ b/.waf-tools/default-compiler-flags.py
@@ -30,7 +30,8 @@ '-g3', '-fcolor-diagnostics', # clang '-fdiagnostics-color', # gcc >= 4.9 - '-Werror' + '-Werror', + '-Wno-error=maybe-uninitialized', # Bug #1560 ] if areCustomCxxflagsPresent: missingFlags = [x for x in defaultFlags if x not in conf.env.CXXFLAGS]