Commit 0edb40cb authored by Jose Fonseca's avatar Jose Fonseca

scons: Make declaration-after-statement and pointer-arith just warnings.

Necessary, in order to build the whole tree.
parent a9cb01f3
......@@ -437,10 +437,10 @@ def generate(env):
]
if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.2'):
ccflags += [
'-Werror=pointer-arith',
'-Wpointer-arith',
]
cflags += [
'-Werror=declaration-after-statement',
'-Wdeclaration-after-statement',
]
if msvc:
# See also:
......
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