waf: don't treat warnings as errors when compiling
This commit is contained in:
parent
68b711e66b
commit
5adc0d587e
2
wscript
2
wscript
@ -33,7 +33,7 @@ def configure(conf):
|
|||||||
conf.env['CCFLAGS'] += [
|
conf.env['CCFLAGS'] += [
|
||||||
'-std=gnu99', '-Wall', '-Wshadow', '-W', '-pedantic', '-g', '-g2', '-O2', '-Wmissing-declarations',
|
'-std=gnu99', '-Wall', '-Wshadow', '-W', '-pedantic', '-g', '-g2', '-O2', '-Wmissing-declarations',
|
||||||
'-Wdeclaration-after-statement', '-Wno-pointer-sign', '-Wcast-align', '-Winline', '-Wsign-compare',
|
'-Wdeclaration-after-statement', '-Wno-pointer-sign', '-Wcast-align', '-Winline', '-Wsign-compare',
|
||||||
'-Wnested-externs', '-Wpointer-arith', '-Werror', '-Wbad-function-cast', '-Wmissing-prototypes',
|
'-Wnested-externs', '-Wpointer-arith', '-Wbad-function-cast', '-Wmissing-prototypes',
|
||||||
'-fPIC', '-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
|
'-fPIC', '-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
|
||||||
'-D_LARGE_FILES', '-fno-strict-aliasing',
|
'-D_LARGE_FILES', '-fno-strict-aliasing',
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user