mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
wafsamba: Build with -Wimplicit-fallthrough if supported
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Mar 1 19:38:12 CET 2018 on sn-devel-144
This commit is contained in:
parent
654a66b72d
commit
33fa6778e1
@ -711,6 +711,8 @@ def SAMBA_CONFIG_H(conf, path=None):
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Werror=uninitialized -Wuninitialized',
|
||||
testflags=True)
|
||||
conf.ADD_CFLAGS('-Wimplicit-fallthrough',
|
||||
testflags=True)
|
||||
|
||||
conf.ADD_CFLAGS('-Wformat=2 -Wno-format-y2k', testflags=True)
|
||||
conf.ADD_CFLAGS('-Wno-format-zero-length', testflags=True)
|
||||
|
Loading…
Reference in New Issue
Block a user