silence most warnings under macOS

For macOS Apple clang version 15.0.0 (clang-1500.3.9.4)
compiler, we have silenced the warnings that can be silenced.

We also updated `.gitignore` for `2014/maffiodo2` and `1995/vanschnitz`.
This commit is contained in:
Landon Curt Noll committed 2024-03-11 10:42:32 -07:00
1 parent 1f2920d7ba
commit a86786130f
78 files changed
+120 -83

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \
-Wno-implicit-function-declaration -Wno-return-type \
-Wno-deprecated-non-prototype
-Wno-deprecated-non-prototype -Wno-implicit-int
# Common C compiler warning flags
#
+2 -1
View File
@@ -39,7 +39,8 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value \
-Wno-implicit-int
# Common C compiler warning flags
#
+2 -1
View File
@@ -40,7 +40,8 @@ include ../../var.mk
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
-Wno-deprecated-non-prototype -Wno-implicit-int
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-deprecated-declarations \
-Wno-incompatible-pointer-types
# Common C compiler warning flags
#
+1 -1
View File
@@ -39,7 +39,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \
-Wno-error -Wno-implicit-function-declaration
-Wno-error -Wno-implicit-function-declaration -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -95,7 +95,7 @@ endif
#
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
#
CSILENCE+= -Wno-missing-parameter-type
CSILENCE+= -Wno-missing-parameter-type -Wno-unknown-warning-option
#
#CWARN+=
#
+1 -1
View File
@@ -39,7 +39,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-Wno-strict-prototypes
-Wno-strict-prototypes -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-Wno-shift-op-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
-Wno-missing-braces
-Wno-missing-braces -Wno-implicit-int
# Common C compiler warning flags
#