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:
1 parent
1f2920d7ba
commit
a86786130f
78 files changed
+120
-83
No files matched your search
@@ -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
|
||||
#
|
||||
|
||||
+3
-1
@@ -83,7 +83,9 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-conditional-uninitialized \
|
||||
-Wno-implicit-int-conversion -Wno-missing-noreturn \
|
||||
-Wno-missing-variable-declarations -Wno-shorten-64-to-32
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user