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

+3 -2
View File
@@ -40,7 +40,8 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \
-Wno-logical-op-parentheses
# Common C compiler warning flags
#
@@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \
-Wno-cast-align
-Wno-cast-align -Wno-unreachable-code
#
CWARN+= -Weverything
#