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-deprecated-declarations -Wno-parentheses -Wno-error \
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
-Wno-unused-value -Wno-deprecated-non-prototype
-Wno-unused-value -Wno-deprecated-non-prototype -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -38,7 +38,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-strict-prototypes
CSILENCE= -Wno-strict-prototypes -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -39,7 +39,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \
-Wno-pedantic -Wno-strict-prototypes
-Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \
-Wno-unreachable-code
-Wno-unreachable-code -Wno-disabled-macro-expansion
#
CWARN+= -Weverything
#
+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
-Wno-uninitialized
-Wno-uninitialized -Wno-implicit-int
# Common C compiler warning flags
#