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
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-string-plus-int -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-parentheses -Wno-return-type
|
||||
-Wno-parentheses -Wno-return-type -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,8 @@ CSILENCE= -Wno-deprecated-declarations -Wno-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
||||
-Wno-unused-value -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-multistatement-macros
|
||||
-Wno-missing-parameter-type -Wno-multistatement-macros \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ CSILENCE= -Wno-builtin-requires-header -Wno-char-subscripts \
|
||||
-Wno-implicit-function-declaration -Wno-incompatible-library-redeclaration \
|
||||
-Wno-parentheses -Wno-implicit-int -Wno-deprecated-non-prototype \
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-unused-value
|
||||
-Wno-misleading-indentation -Wno-unused-value -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-invalid-pp-token -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declarat
|
||||
-Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-multistatement-macros -Wno-unused-value
|
||||
-Wno-multistatement-macros -Wno-unused-value -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,8 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \
|
||||
-Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-implicit-fallthrough -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-unused-value -Wno-deprecated-non-prototype -Wno-return-type -Wno-implicit-int \
|
||||
-Wno-empty-body -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-parentheses -Wno-stringop-overflow
|
||||
-Wno-parentheses -Wno-stringop-overflow -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,8 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-uninitialized -Wno-implicit-int -Wno-switch-unreachable \
|
||||
-Wno-builtin-declaration-mismatch -Wno-implicit-fallthrough \
|
||||
-Wno-int-in-bool-context -Wno-overflow -Wno-parentheses -Wno-return-type
|
||||
-Wno-int-in-bool-context -Wno-overflow -Wno-parentheses -Wno-return-type \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user