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
+1
-1
@@ -86,7 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-float-equal -Wno-implicit-int-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+3
-2
@@ -40,7 +40,8 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +87,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \
|
||||
-Wno-int-to-pointer-cast -Wno-strict-prototypes
|
||||
-Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes
|
||||
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-pointer-to-int-cast -Wno-no-return-type -Wno-empty-body \
|
||||
-Wno-implicit-function-declaration -Wno-string-plus-int -Wno-return-type \
|
||||
-Wno-unknown-warning-option -Wno-deprecated-non-prototype \
|
||||
-Wno-shorten-64-to-32 -Wno-int-conversion
|
||||
-Wno-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,9 @@ CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-int-conversion -Wno-return-type -Wno-parentheses \
|
||||
-Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \
|
||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast
|
||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast \
|
||||
-Wno-conditional-type-mismatch -Wno-non-literal-null-conversion \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user