wscript: warn about missing-prototypes by default for C
This commit is contained in:
parent
901b35d4b1
commit
0231f5e8ac
1 changed files with 2 additions and 1 deletions
3
wscript
3
wscript
|
@ -333,7 +333,8 @@ def configure(conf):
|
||||||
'-Werror=old-style-declaration',
|
'-Werror=old-style-declaration',
|
||||||
'-Werror=old-style-definition',
|
'-Werror=old-style-definition',
|
||||||
'-Werror=strict-prototypes',
|
'-Werror=strict-prototypes',
|
||||||
'-fnonconst-initializers' # owcc
|
'-fnonconst-initializers', # owcc
|
||||||
|
'-Wmissing-prototypes', # not an error yet
|
||||||
]
|
]
|
||||||
|
|
||||||
opt_cxxflags = [] # TODO:
|
opt_cxxflags = [] # TODO:
|
||||||
|
|
Loading…
Add table
Reference in a new issue