slackware-current/source/y/bsd-games/patches/bsd-games.gcc14.diff

12 lines
799 B
Diff
Raw Normal View History

--- ./configure.orig 2024-05-10 22:59:06.160719064 -0500
+++ ./configure 2024-05-10 23:00:09.194720474 -0500
@@ -333,7 +333,7 @@
echo "The default warning flags should give a compile with few warnings."
# -Wbad-function-cast and -Wshadow give lots of warnings that are basically
# harmless.
-ask "C compiler warning flags" warning_flags "-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings"
+ask "C compiler warning flags" warning_flags "-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wno-error=implicit-function-declaration"
if building_in dab; then
ask "C++ compiler warning flags" cxx_warning_flags "-Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings"
fi