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
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-parentheses -Wno-strict-prototypes -Wno-builtin-declaration-mismatch
|
||||
-Wno-parentheses -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||
-Wno-main-return-type -Wno-return-type -Wno-unused-parameter \
|
||||
-Wno-strict-prototypes -Wno-implicit-function-declaration \
|
||||
-Wno-main -Wno-maybe-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-shift-negative-value
|
||||
-Wno-shift-negative-value -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+2
-1
@@ -88,7 +88,8 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-format-nonliter
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-declaration-after-statement \
|
||||
-Wno-incompatible-function-pointer-types-strict \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+2
-1
@@ -44,7 +44,8 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-tautological-bitwise-compare -Wno-unused-label \
|
||||
-Wno-unused-variable -Wno-strict-prototypes \
|
||||
-Wno-builtin-declaration-mismatch -Wno-incompatible-pointer-types \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-unused-value
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-unused-value \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user