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
+2
-1
@@ -92,7 +92,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-format-nonliteral -Wno-sign-conversion \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-shift-op-parentheses -Wno-strict-prototypes \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-parentheses
|
||||
-Wno-parentheses -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -42,7 +42,8 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-return-type -Wno-sign-compare -Wno-uninitialized -Wno-unsequenced \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-array-bounds -Wno-misleading-indentation \
|
||||
-Wno-pedantic -Wno-unused-variable -Wno-implicit-int \
|
||||
-Wno-stringop-overflow
|
||||
-Wno-stringop-overflow -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||
-Wno-int-conversion -Wno-implicit-int -Wno-return-type \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-empty-body -Wno-format -Wno-incompatible-library-redeclaration \
|
||||
-Wno-non-literal-null-conversion -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-return-type
|
||||
-Wno-misleading-indentation -Wno-return-type -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,8 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-parentheses -Wno-return-type -Wno-implicit-int
|
||||
-Wno-parentheses -Wno-return-type -Wno-implicit-int \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -40,7 +40,8 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-tokens \
|
||||
-Wno-overlength-strings -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-endif-labels -Wno-return-type
|
||||
-Wno-builtin-declaration-mismatch -Wno-endif-labels -Wno-return-type \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user