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-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch
|
||||
-Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-pointer-sign -Wno-unused-parameter \
|
||||
-Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow
|
||||
-Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -40,7 +40,8 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-main -Wno-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-unused-parameter -Wno-builtin-declaration-mismatch
|
||||
-Wno-unused-parameter -Wno-builtin-declaration-mismatch \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,7 @@ CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types \
|
||||
-Wno-aggressive-loop-optimizations -Wno-array-bounds \
|
||||
-Wno-implicit-fallthrough -Wno-maybe-uninitialized \
|
||||
-Wno-misleading-indentation -Wno-unused-value \
|
||||
-Wno-strict-prototypes -Wno-stringop-overflow
|
||||
-Wno-strict-prototypes -Wno-stringop-overflow -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-deprecated-declarations -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch \
|
||||
-Wno-stringop-truncation -Wno-unused-value -Wno-format-extra-args \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -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-strict-prototypes -Wno-implicit-function-declaration \
|
||||
-Wno-builtin-declaration-mismatch
|
||||
-Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user