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
@@ -94,7 +94,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-dollar-in-identifier-extension \
|
||||
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-padded -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+3
-1
@@ -84,7 +84,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 \
|
||||
-Wno-float-conversion -Wno-format-nonliteral -Wno-missing-prototypes \
|
||||
-Wno-shadow -Wno-shift-sign-overflow
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user