Add more warning flags, fix a few new warnings
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ env = Environment(tools = ['default', 'textfile'])
|
||||
env.AddMethod(InstallPerm)
|
||||
Export('env', 'build_type', 'prefix', 'version_info', 'test_xml')
|
||||
|
||||
env.Append(CFLAGS = ['-Wall', '-Wextra', '-pipe', '-ggdb', '-pthread'])
|
||||
env.Append(CFLAGS = ['-Wall', '-Wextra', '-Wundef', '-Wcast-qual','-Wshadow' ,'-Wcast-align','-pipe', '-ggdb', '-pthread'])
|
||||
env.Append(LINKFLAGS = ['-O2', '-pthread'])
|
||||
env.Append(CPPDEFINES = ['_FILE_OFFSET_BITS=64'])
|
||||
env.Append(CPPPATH = ['#include'])
|
||||
|
||||
Reference in New Issue
Block a user