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

+4 -2
View File
@@ -39,7 +39,8 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \
-Wno-deprecated-non-prototype -Wno-unused-parameter
-Wno-deprecated-non-prototype -Wno-unused-parameter \
-Wno-incompatible-pointer-types
# Common C compiler warning flags
#
@@ -90,7 +91,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-strict-prototypes
-Wno-poison-system-directories -Wno-strict-prototypes \
-Wno-padded
#
CWARN+= -Weverything
#