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-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \
|
||||
-Wno-parentheses-equality -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-comma \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||
-Wno-return-type -Wno-deprecated-non-prototype
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+3
-2
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,7 +87,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
CSILENCE+= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directorie \
|
||||
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion
|
||||
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-disabled-macro-expansion
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -86,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma \
|
||||
-Wno-conditional-uninitialized -Wno-sign-conversion
|
||||
-Wno-conditional-uninitialized -Wno-sign-conversion \
|
||||
-Wno-disabled-macro-expansion
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes
|
||||
-Wno-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user