diff options
author | Andreas Schneider <asn@samba.org> | 2022-10-27 08:27:13 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-10-27 18:18:36 +0000 |
commit | 3de61dc6773c67f44477f889deadf92656f3379e (patch) | |
tree | 6a76620de64af19bd2982b86f6a497edc8149242 /buildtools | |
parent | 0e8949bde01b5007612c1c0a17e10d2c5bbb1846 (diff) | |
download | samba-3de61dc6773c67f44477f889deadf92656f3379e.tar.gz |
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>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 47093dec7c0..f3168f94a51 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -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', |