mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
wafsamba: Add -Werror=implicit-int
https://fedoraproject.org/wiki/Changes/PortingToModernC Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0e8949bde0
commit
3de61dc677
@ -775,6 +775,8 @@ def SAMBA_CONFIG_H(conf, path=None):
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Werror-implicit-function-declaration',
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Werror=implicit-int',
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Werror=pointer-arith -Wpointer-arith',
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Werror=declaration-after-statement -Wdeclaration-after-statement',
|
||||
|
Loading…
x
Reference in New Issue
Block a user