silence compiler warnings for macOS
After silencing compiler warnings for RHEL 9 Linux, we silence the result on macOS for Apple clang version 15.0.0 (clang-1500.3.9.4).
This commit is contained in:
1 parent
61172e5f88
commit
e9808ca45d
147 files changed
+211
-147
No files matched your search
@@ -40,7 +40,7 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-bool-operation -Wno-char-subscripts -Wno-format-security \
|
||||
-Wno-logical-op-parentheses -Wno-format-overflow -Wno-parentheses \
|
||||
-Wno-restrict -Wno-unused-value
|
||||
-Wno-restrict -Wno-unused-value -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -43,7 +43,8 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-int-to-pointer-cast -Wno-pedantic -Wno-pointer-sign \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-but-set-parameter \
|
||||
-Wno-unused-value -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -41,7 +41,8 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int -Wno-parentheses \
|
||||
-Wno-pedantic -Wno-unsequenced -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point -Wno-unused-value
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point -Wno-unused-value \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -87,7 +87,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-undef -Wno-alloca -Wno-cast-function-type-strict -Wno-unsafe-buffer-usage
|
||||
-Wno-undef -Wno-alloca -Wno-cast-function-type-strict -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -43,7 +43,8 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-parentheses \
|
||||
-Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced \
|
||||
-Wno-deprecated-non-prototype -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-sequence-point
|
||||
-Wno-misleading-indentation -Wno-sequence-point \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user