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
+1
-1
@@ -43,7 +43,7 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-bitwise-instead-of-logical -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-return-type \
|
||||
-Wno-sequence-point -Wno-unused-value
|
||||
-Wno-sequence-point -Wno-unused-value -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||
-Wno-empty-body -Wno-invalid-source-encoding -Wno-main -Wno-parentheses \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-return-type -Wno-unused-parameter
|
||||
-Wno-return-type -Wno-unused-parameter -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-missing-parameter-type -Wno-return-type
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -93,7 +93,8 @@ CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-implicit-int-conversion \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \
|
||||
-Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type
|
||||
-Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main \
|
||||
-Wno-implicit-function-declaration -Wno-address \
|
||||
-Wno-builtin-declaration-mismatch -Wno-int-conversion \
|
||||
-Wno-gnu-line-marker
|
||||
-Wno-gnu-line-marker -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,7 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \
|
||||
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \
|
||||
-Wno-logical-op-parentheses
|
||||
-Wno-logical-op-parentheses -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-string-plus-int -Wno-switch-bool -Wno-array-bounds \
|
||||
-Wno-stringop-overread
|
||||
-Wno-stringop-overread -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-trigraphs -Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user