]> git.ipfire.org Git - thirdparty/shadow.git/commit
autogen.sh: CFLAGS: Add -Werror=implicit-function-declaration
authorAlejandro Colomar <alx@kernel.org>
Fri, 1 Sep 2023 16:57:41 +0000 (18:57 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 20 Oct 2023 19:05:33 +0000 (21:05 +0200)
commita6d795bac5fa0ea1bac8c89925670f6e20fd3c01
treeef35f3ebd134f973d8140b429ac157467e2b64e4
parentd5e1c1e475b0098ce65520576e6d8d339b15939e
autogen.sh: CFLAGS: Add -Werror=implicit-function-declaration

This is not just a style issue.  This should be a hard error, and never
compile.  ISO C89 already had this feature as deprecated.  ISO C99
removed this deprecated feature, for good reasons.  If we compile
ignoring this warning, shadow is not going to behave well.

Cc: Sam James <sam@gentoo.org>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
autogen.sh