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,8 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-return-type -Wno-unsequenced -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -90,7 +90,7 @@ CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-float-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-implicit-int -Wno-main-return-type -Wno-extra-semi \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-pedantic -Wno-strict-prototypes
|
||||
-Wno-pedantic -Wno-strict-prototypes -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -42,7 +42,7 @@ CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-int-in-bool-context \
|
||||
-Wno-misleading-indentation -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-unevaluated-expression -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
|
||||
-Wno-maybe-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-switch-unreachable
|
||||
-Wno-switch-unreachable -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-parentheses -Wno-shift-negative-value -Wno-shift-op-parentheses \
|
||||
-Wno-strict-prototypes -Wno-maybe-uninitialized
|
||||
-Wno-strict-prototypes -Wno-maybe-uninitialized -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-trigraphs -Wno-aggressive-loop-optimizations -Wno-clobbered
|
||||
CSILENCE= -Wno-trigraphs -Wno-aggressive-loop-optimizations -Wno-clobbered \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-comment -Wno-strict-prototypes -Wno-stringop-overflow
|
||||
CSILENCE= -Wno-comment -Wno-strict-prototypes -Wno-stringop-overflow \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user