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
@@ -39,7 +39,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-parentheses -Wno-int-conversion -Wno-unsequenced
-Wno-parentheses -Wno-int-conversion -Wno-unsequenced -Wno-return-type
# Common C compiler warning flags
#
@@ -85,7 +85,8 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-float-conversion -Wno-format-nonliteral -Wno-implicit-int-conversion \
-Wno-missing-variable-declarations -Wno-poison-system-directories
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-missing-prototypes
#
CWARN+= -Weverything
#