From: Andreas Schneider Date: Thu, 27 Oct 2022 06:27:13 +0000 (+0200) Subject: wafsamba: Add -Werror=implicit-int X-Git-Tag: talloc-2.4.0~616 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3de61dc6773c67f44477f889deadf92656f3379e;p=thirdparty%2Fsamba.git wafsamba: Add -Werror=implicit-int https://fedoraproject.org/wiki/Changes/PortingToModernC Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- 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',