Fix 1986/pawka/Makefile
The flag -Wno-strict-prototypes was put in the CDEFINE variable, suggesting that it might need a -D flag when it of course does not. This is not strictly an error but it's also not strictly correct so I strictly decided to make it correct. At the same time I added to CSILENCE -Wno-implicit-int, a warning that has shown up in macOS recently, very possibly with macOS Sonoma, and so might have to be added to many Makefiles.
This commit is contained in:
1 parent
b094d5cd48
commit
70cee412ac
2 files changed
+9
-2
No files matched your search
+3
-2
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-non-literal-null-conversion -Wno-unused-value
|
||||
CSILENCE= -Wno-non-literal-null-conversion -Wno-unused-value -Wno-strict-prototypes \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -57,7 +58,7 @@ ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
#
|
||||
CDEFINE= -Wno-strict-prototypes
|
||||
CDEFINE=
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
|
||||
@@ -247,6 +247,12 @@ and the third arg was an `int`.
|
||||
We encourage you to read the README.md file to see how odd this problem was and
|
||||
what Cody did to fix it!
|
||||
|
||||
## [1986/pawka](1986/pawka/pawka.c) ([README.md](1986/pawka/README.md))
|
||||
|
||||
Cody noticed and fixed a funny mistake in the Makefile where a
|
||||
`-Wno-strict-prototypes` was in the wrong location, suggesting that there is a
|
||||
`-D` needed to compile the entry.
|
||||
|
||||
|
||||
## [1986/wall](1986/wall/wall.c) ([README.md](1986/wall/README.md]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user