Skip to content
Snippets Groups Projects
Commit f22574be authored by Jose Fonseca's avatar Jose Fonseca
Browse files

scons: Use -Wdeclaration-after-statement

parent 188a3334
No related merge requests found
......@@ -334,6 +334,7 @@ def generate(env):
'-Wall',
'-Wmissing-prototypes',
'-Wno-long-long',
'-Wdeclaration-after-statement',
'-ffast-math',
'-std=gnu99',
'-fmessage-length=0', # be nice to Eclipse
......
......@@ -409,13 +409,11 @@ def generate(env):
'-Wall',
'-Wmissing-prototypes',
'-Wno-long-long',
'-Wdeclaration-after-statement',
'-ffast-math',
'-pedantic',
'-fmessage-length=0', # be nice to Eclipse
]
cflags += [
'-Wmissing-prototypes',
]
if msvc:
# See also:
# - http://msdn.microsoft.com/en-us/library/19z1t1wy.aspx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment