Silence compilation of 1985/sicherman
A warning that might not have been previously triggered, odd and unlikely as it might seem, was triggered at least in macOS Sonoma and it has now been disabled: -Wno-implicit-int. The entry used to require in modern days -traditional-cpp but like the others I fixed this and that did introduce new warnings as code had to be commented out in some cases like this entry (it did not matter in this entry if it was commented out but it had to be due to compiler errors otherwise). Even so this warning should have been triggered already due to main() and subr() not specifying a return type.
This commit is contained in:
1 parent
f13aea5b74
commit
4bd4a86adb
1 file changed
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-comment -Wno-deprecated-non-prototype -Wno-main -Wno-pedantic \
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user