silence compiler warnings for RHEL 9 Linux
We updated ${CSILENCE} Makefile variables for entries in an attempt to
minimize compiler warnings. This was tested using
gcc version 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC).
TODO: Recheck macOS clang to see if any new warnings have occur
under macOS clang.
This commit is contained in:
1 parent
cbbf6dbf7a
commit
61172e5f88
313 files changed
+1609
-1063
No files matched your search
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-return-type -Wno-string-plus-int -Wno-unsequenced \
|
||||
-Wno-deprecated-non-prototype -Wno-void-pointer-to-int-cast
|
||||
-Wno-return-type -Wno-string-plus-int -Wno-unsequenced \
|
||||
-Wno-deprecated-non-prototype -Wno-void-pointer-to-int-cast \
|
||||
-Wno-missing-parameter-type -Wno-pointer-to-int-cast
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,8 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shadow -Wno-missing-prototypes \
|
||||
-Wno-strict-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-void-pointer-to-int-cast
|
||||
-Wno-strict-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-void-pointer-to-int-cast -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+10
-8
@@ -39,10 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-array-bounds -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-keyword-macro -Wno-main-return-type -Wno-missing-field-initializers \
|
||||
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-empty-body -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-main \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-label -Wno-implicit-int
|
||||
-Wno-keyword-macro -Wno-main-return-type -Wno-missing-field-initializers \
|
||||
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-empty-body -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-main \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-label -Wno-implicit-int \
|
||||
-Wno-cast-function-type -Wno-format-extra-args
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,9 +89,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories \
|
||||
-Wno-cast-function-type -Wno-float-conversion -Wno-padded \
|
||||
-Wno-unreachable-code
|
||||
-Wno-pedantic -Wno-poison-system-directories \
|
||||
-Wno-cast-function-type -Wno-float-conversion -Wno-padded \
|
||||
-Wno-unreachable-code -Wno-misleading-indentation -Wno-reserved-identifier \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
@@ -100,7 +102,7 @@ endif
|
||||
#
|
||||
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
|
||||
#
|
||||
#CSILENCE+=
|
||||
CSILENCE+= -Wno-cast-function-type -Wno-format-extra-args
|
||||
#
|
||||
#CWARN+=
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-misleading-indentation \
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories
|
||||
-Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-main -Wno-deprecated-non-prototype
|
||||
CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-pedantic -Wno-sign-conversion
|
||||
-Wno-pedantic -Wno-sign-conversion -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-parentheses -Wno-return-type \
|
||||
-Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main \
|
||||
-Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-padded -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-implicit-int -Wno-unused-value -Wno-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration
|
||||
-Wno-implicit-function-declaration -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +85,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-poison-system-directories \
|
||||
-Wno-unused-macros -Wno-strict-prototypes
|
||||
-Wno-unused-macros -Wno-strict-prototypes -Wno-reserved-identifier \
|
||||
-Wno-reserved-macro-identifier
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -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-string-plus-int -Wno-strict-prototypes
|
||||
-Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,10 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-comment -Wno-deprecated-non-prototype -Wno-main -Wno-pedantic \
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter -Wno-implicit-int \
|
||||
-Wno-implicit-function-declaration -Wno-unused-value -Wno-multichar \
|
||||
-Wno-uninitialized -Wno-unused-but-set-parameter -Wno-parentheses \
|
||||
-Wno-int-conversion
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter \
|
||||
-Wno-implicit-int -Wno-implicit-function-declaration -Wno-unused-value \
|
||||
-Wno-multichar -Wno-uninitialized -Wno-unused-but-set-parameter \
|
||||
-Wno-parentheses -Wno-int-conversion -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,7 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \
|
||||
-Wno-unused-macros -Wno-missing-variable-declarations -Wno-shadow
|
||||
-Wno-unused-macros -Wno-missing-variable-declarations -Wno-shadow \
|
||||
-Wno-reserved-identifier -Wno-reserved-macro-identifier \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-strict-prototypes -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +86,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-missing-variable-declarations
|
||||
-Wno-missing-variable-declarations
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-strict-prototypes
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-padded -Wno-unsafe-buffer-usage \
|
||||
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-implicit-int -Wno-unknown-escape-sequence -Wno-unused-value \
|
||||
-Wno-sign-compare -Wno-deprecated-non-prototype
|
||||
-Wno-implicit-int -Wno-unknown-escape-sequence -Wno-unused-value \
|
||||
-Wno-sign-compare -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes -Wno-unreachable-code-return
|
||||
-Wno-missing-variable-declarations -Wno-pedantic -Wno-unknown-warning-option \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes -Wno-unreachable-code-return -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-3
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-incompatible-library-redeclaration -Wno-return-type \
|
||||
-Wno-deprecated-declarations -Wno-deprecated-non-prototype
|
||||
-Wno-incompatible-library-redeclaration -Wno-return-type \
|
||||
-Wno-deprecated-declarations -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-reserved-identifier -Wno-reserved-macro-identifier \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-format-security -Wno-implicit-int -Wno-int-to-pointer-cast \
|
||||
-Wno-pointer-to-int-cast -Wno-deprecated-non-prototype \
|
||||
-Wno-incompatible-pointer-types
|
||||
-Wno-pointer-to-int-cast -Wno-deprecated-non-prototype \
|
||||
-Wno-incompatible-pointer-types -Wno-implicit-fallthrough \
|
||||
-Wno-missing-parameter-type -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +86,9 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-implicit-int-conversion
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-pedantic -Wno-unsafe-buffer-usage \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-implicit-int-conversion \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,10 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-int-conversion -Wno-parentheses -Wno-shift-negative-value \
|
||||
-Wno-string-compare -Wno-unsequenced -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-pointer-to-int-cast -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-uninitialized -Wno-unused-parameter
|
||||
-Wno-int-conversion -Wno-parentheses -Wno-shift-negative-value \
|
||||
-Wno-string-compare -Wno-unsequenced -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-pointer-to-int-cast -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-uninitialized -Wno-unused-parameter \
|
||||
-Wno-address -Wno-builtin-declaration-mismatch -Wno-sequence-point
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -90,7 +91,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \
|
||||
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+3
-2
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-non-literal-null-conversion -Wno-unused-value -Wno-strict-prototypes \
|
||||
-Wno-implicit-int
|
||||
-Wno-implicit-int -Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +84,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-int-conversion -Wno-deprecated-non-prototype
|
||||
-Wno-int-conversion -Wno-deprecated-non-prototype \
|
||||
-Wno-missing-parameter-type -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories
|
||||
-Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+9
-6
@@ -39,9 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-parentheses -Wno-c99-extensions -Wno-declaration-after-statement \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-string-plus-char \
|
||||
-Wno-macro-redefined
|
||||
-Wno-parentheses -Wno-c99-extensions -Wno-declaration-after-statement \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-string-plus-char -Wno-macro-redefined \
|
||||
-Wno-builtin-declaration-mismatch -Wno-pedantic \
|
||||
-Wno-implicit-fallthrough -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,9 +89,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypess \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes -Wno-missing-prototypes -Wno-unknown-warning-option \
|
||||
-Wno-unused-macros
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes -Wno-missing-prototypes -Wno-unknown-warning-option \
|
||||
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-reserved-macro-identifier \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-pedantic -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-int-to-pointer-cast -Wno-logical-op-parentheses -Wno-deprecated-non-prototype
|
||||
-Wno-int-to-pointer-cast -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-parentheses -Wno-return-type \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +88,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unused-macros
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int -Dunix=1 \
|
||||
-Wno-string-plus-int -Wno-strict-prototypes
|
||||
-Wno-string-plus-int -Wno-strict-prototypes -Wno-return-type \
|
||||
-Wno-builtin-declaration-mismatch -Wno-format-contains-nul
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-format-nonliteral \
|
||||
-Wno-poison-system-directories
|
||||
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-maybe-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,9 +86,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unused-macros
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-unsafe-buffer-usagen -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-6
@@ -39,10 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-incompatible-library-redeclaration -Wno-return-type -Wno-string-plus-int \
|
||||
-Wno-unknown-escape-sequence -Wno-deprecated-declarations \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-incompatible-pointer-types \
|
||||
-Wno-unused-value
|
||||
-Wno-incompatible-library-redeclaration -Wno-return-type -Wno-string-plus-int \
|
||||
-Wno-unknown-escape-sequence -Wno-deprecated-declarations \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-incompatible-pointer-types \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,8 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-for-loop-analysis -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-int-in-bool-context -Wno-maybe-uninitialized -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-conditional-uninitialized
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-conditional-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes \
|
||||
-Wno-gnu-line-marker
|
||||
|
||||
-Wno-gnu-line-marker -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+6
-4
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-implicit-function-declaration -Wno-implicit-int -Wno-keyword-macro \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-builtin-declaration-mismatch \
|
||||
-Wno-implicit-fallthrough -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,8 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic -Wno-shorten-64-to-32 \
|
||||
-Wno-unused-macros
|
||||
-Wno-missing-variable-declarations -Wno-pedantic -Wno-shorten-64-to-32 \
|
||||
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+8
-6
@@ -38,11 +38,12 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-comma -Wno-implicit-function-declaration -Wno-format-insufficient-args \
|
||||
-Wno-implicit-int -Wno-incompatible-library-redeclaration -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories -Wno-return-type \
|
||||
-Wno-shadow -Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-unreachable-code \
|
||||
-Wno-unused-macros -Wno-int-conversion -Wno-macro-redefined
|
||||
CSILENCE= -Wno-comma -Wno-implicit-function-declaration -Wno-format-insufficient-args \
|
||||
-Wno-implicit-int -Wno-incompatible-library-redeclaration -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories -Wno-return-type \
|
||||
-Wno-shadow -Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-unreachable-code \
|
||||
-Wno-unused-macros -Wno-int-conversion -Wno-macro-redefined -Wno-parentheses \
|
||||
-Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,7 +88,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-pedantic
|
||||
CSILENCE+= -Wno-pedantic -Wno-misleading-indentation -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-parentheses -Wno-return-type \
|
||||
-Wno-sequence-point
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,9 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-pedantic -Wno-logical-not-parentheses -Wno-implicit-function-declaration \
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-pointer-to-int-cast \
|
||||
-Wno-pointer-integer-compare -Wno-compare-distinct-pointer-types \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-pointer-to-int-cast \
|
||||
-Wno-pointer-integer-compare -Wno-compare-distinct-pointer-types \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,7 +88,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma \
|
||||
-Wno-missing-prototypes
|
||||
-Wno-missing-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-3
@@ -39,8 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-pedantic -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||
-Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-implicit-int -Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +85,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-double-promotion -Wno-float-conversion
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-double-promotion -Wno-float-conversion
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-3
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-implicit-function-declaration -Wno-missing-braces -Wno-parentheses \
|
||||
-Wno-deprecated-non-prototype -Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-pedantic -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-float-equal -Wno-implicit-int-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros \
|
||||
-Wno-sign-conversion -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,9 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \
|
||||
-Wno-unused-variable -Wno-strict-prototypes \
|
||||
-Wno-extra-semi -Wno-non-literal-null-conversion -Wno-implicit-int
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \
|
||||
-Wno-unused-variable -Wno-strict-prototypes -Wno-sequence-point \
|
||||
-Wno-extra-semi -Wno-non-literal-null-conversion -Wno-implicit-int \
|
||||
-Wno-misleading-indentation -Wno-overflow -Wno-pedantic -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,8 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-extra-semi-stmt \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-4
@@ -39,9 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \
|
||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,7 +88,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32 \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \
|
||||
-Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-return-type -Wno-uninitialized -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -89,7 +90,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes -Wno-bad-function-cast -Wno-missing-variable-declarations
|
||||
-Wno-strict-prototypes -Wno-bad-function-cast -Wno-missing-variable-declarations \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-comma \
|
||||
-Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories
|
||||
-Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-misleading-indentation -Wno-reserved-identifier
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-4
@@ -41,7 +41,9 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-pointer-to-int-cast -Wno-no-return-type -Wno-empty-body \
|
||||
-Wno-implicit-function-declaration -Wno-string-plus-int -Wno-return-type \
|
||||
-Wno-unknown-warning-option -Wno-deprecated-non-prototype \
|
||||
-Wno-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int
|
||||
-Wno-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int \
|
||||
-Wno-format -Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,9 +89,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-sign-conversion
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-sign-conversion -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,12 +39,12 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-int-conversion -Wno-return-type -Wno-parentheses \
|
||||
-Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \
|
||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast \
|
||||
-Wno-conditional-type-mismatch -Wno-non-literal-null-conversion \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-int-conversion -Wno-return-type -Wno-parentheses \
|
||||
-Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \
|
||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast \
|
||||
-Wno-conditional-type-mismatch -Wno-non-literal-null-conversion \
|
||||
-Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -90,7 +90,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-pedantic -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-string-plus-int -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-string-plus-int -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-parentheses -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +86,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-format-nonliteral -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-format-nonliteral -Wno-poison-system-directories \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
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-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
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +88,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
||||
-Wno-shorten-64-to-32
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
||||
-Wno-shorten-64-to-32 -Wno-extra-semi-stmt -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+8
-6
@@ -38,10 +38,12 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-builtin-requires-header -Wno-char-subscripts -Wno-conditional-type-mismatch \
|
||||
-Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-incompatible-library-redeclaration -Wno-parentheses -Wno-implicit-int \
|
||||
-Wno-deprecated-non-prototype -Wno-return-type -Wno-strict-prototypes
|
||||
CSILENCE= -Wno-builtin-requires-header -Wno-char-subscripts \
|
||||
-Wno-conditional-type-mismatch -Wno-empty-body -Wno-error \
|
||||
-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
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,8 +89,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-unreachable-code-return
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-unreachable-code-return -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-2
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-invalid-pp-token -Wno-strict-prototypes -Wno-implicit-int
|
||||
CSILENCE= -Wno-invalid-pp-token -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-implicit-int-conversion -Wno-unused-macros
|
||||
-Wno-implicit-int-conversion -Wno-unused-macros \
|
||||
-Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-5
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-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
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-strict-prototypes -Wno-implicit-int
|
||||
CSILENCE= -Wno-strict-prototypes -Wno-implicit-int -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +84,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \
|
||||
-Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-implicit-fallthrough -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-missing-prototypes
|
||||
-Wno-missing-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-4
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
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-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
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,8 +87,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-unreachable-code -Wno-disabled-macro-expansion
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-unreachable-code -Wno-disabled-macro-expansion \
|
||||
-Wno-misleading-indentation -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,10 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-deprecated-declarations -Wno-empty-body -Wno-error -Wno-unused-value \
|
||||
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
|
||||
-Wno-macro-redefined -Wno-parentheses -Wno-return-type -Wno-unused-parameter \
|
||||
-Wno-empty-translation-unit -Wno-deprecated-non-prototype -Wno-int-conversion \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
|
||||
-Wno-macro-redefined -Wno-parentheses -Wno-return-type \
|
||||
-Wno-unused-parameter -Wno-empty-translation-unit \
|
||||
-Wno-deprecated-non-prototype -Wno-int-conversion -Wno-strict-prototypes \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,9 +89,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-float-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unreachable-code -Wno-unused-macros -Wno-implicit-float-conversion
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unreachable-code -Wno-unused-macros -Wno-implicit-float-conversion \
|
||||
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
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-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
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +88,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-string-conversion -Wno-unreachable-code \
|
||||
-Wno-unreachable-code-loop-increment
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-string-conversion -Wno-unreachable-code -Wno-unsafe-buffer-usage \
|
||||
-Wno-unreachable-code-loop-increment -Wno-misleading-indentation \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+8
-5
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \
|
||||
-Wno-implicit-function-declaration -Wno-return-type \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-implicit-function-declaration -Wno-return-type \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +88,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-strict-prototypes -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value \
|
||||
-Wno-implicit-int
|
||||
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-unused-value -Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-pedantic
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +87,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unused-macros
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,9 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-int-conversion -Wno-logical-op-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-unknown-escape-sequence -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-int-conversion -Wno-logical-op-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-unknown-escape-sequence -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,8 +89,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-unused-label -Wno-strict-prototypes -Wno-implicit-int
|
||||
CSILENCE= -Wno-unused-label -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -83,7 +84,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+11
-7
@@ -39,9 +39,12 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-deprecated-declarations \
|
||||
-Wno-incompatible-pointer-types
|
||||
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-deprecated-declarations -Wno-incompatible-pointer-types \
|
||||
-Wno-maybe-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-parentheses -Wno-strict-aliasing
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,10 +90,11 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-bad-function-cast -Wno-conditional-uninitialized \
|
||||
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shift-sign-overflow \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shift-sign-overflow \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-3
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||
-Wno-error -Wno-implicit-function-declaration -Wno-implicit-int
|
||||
-Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +86,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-deprecated-non-prototype -Wno-implicit-int-conversion \
|
||||
-Wno-missing-variable-declarations -Wno-overlength-strings -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-unused-parameter
|
||||
-Wno-missing-variable-declarations -Wno-overlength-strings -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-unused-parameter \
|
||||
-Wno-misleading-indentation -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-3
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int -Wno-parentheses \
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-disabled-macro-expansion
|
||||
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int \
|
||||
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-disabled-macro-expansion -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-2
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-return-type \
|
||||
-Wno-unused-value -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||
-Wno-shift-op-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-missing-braces -Wno-implicit-int
|
||||
-Wno-shift-op-parentheses -Wno-return-type \
|
||||
-Wno-deprecated-non-prototype -Wno-missing-braces -Wno-implicit-int \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,8 +89,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+11
-9
@@ -39,11 +39,12 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-comment -Wno-deprecated-declarations \
|
||||
-Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-logical-op-parentheses -Wno-macro-redefined -Wno-parentheses \
|
||||
-Wno-return-type -Wno-uninitialized -Wno-unused-value -Wno-unused-variable \
|
||||
-Wno-unused-but-set-variable -Wno-unsequenced -Wno-unused-parameter \
|
||||
-Wno-empty-translation-unit -Wno-implicit-int
|
||||
-Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-logical-op-parentheses -Wno-macro-redefined -Wno-parentheses \
|
||||
-Wno-return-type -Wno-uninitialized -Wno-unused-value -Wno-unused-variable \
|
||||
-Wno-unused-but-set-variable -Wno-unsequenced -Wno-unused-parameter \
|
||||
-Wno-empty-translation-unit -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -89,10 +90,11 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-noreturn \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-unreachable-code \
|
||||
-Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-empty-translation-unit
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-unreachable-code \
|
||||
-Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-empty-translation-unit -Wno-extra-semi-stmt -Wno-misleading-indentation \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \
|
||||
-Wno-parentheses-equality -Wno-return-type
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \
|
||||
-Wno-parentheses-equality -Wno-return-type \
|
||||
-Wno-builtin-declaration-mismatch -Wno-clobbered -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-comma \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-4
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unsequenced \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-maybe-uninitialized
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,9 +86,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-conditional-uninitialized -Wno-implicit-int-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||
-Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unused-macros
|
||||
-Wno-unused-macros -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+9
-6
@@ -39,10 +39,12 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts \
|
||||
-Wno-deprecated-declarations -Wno-empty-body -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-unused-parameter -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-declarations -Wno-empty-body -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-unused-parameter -Wno-unused-value \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-int-in-bool-context -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -90,8 +92,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-strict-prototypes -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-5
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-unused-value \
|
||||
-Wno-builtin-declaration-mismatch -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,10 +86,11 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directorie \
|
||||
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-disabled-macro-expansion
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directorie \
|
||||
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-disabled-macro-expansion -Wno-implicit-int-float-conversion \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-main -Wno-variadic-macros -Wno-deprecated-non-prototype \
|
||||
-Wno-unused-parameter
|
||||
-Wno-logical-op-parentheses -Wno-main -Wno-variadic-macros \
|
||||
-Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||
-Wno-builtin-declaration-mismatch -Wno-maybe-uninitialized \
|
||||
-Wno-misleading-indentation -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,8 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma \
|
||||
-Wno-conditional-uninitialized -Wno-sign-conversion \
|
||||
-Wno-disabled-macro-expansion
|
||||
-Wno-conditional-uninitialized -Wno-sign-conversion \
|
||||
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
|
||||
-Wno-disabled-macro-expansion
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined \
|
||||
-Wno-return-type -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-unused-macros
|
||||
-Wno-poison-system-directories -Wno-unused-macros \
|
||||
-Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-reserved-identifier \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+13
-6
@@ -38,11 +38,16 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-main-return-type -Wno-missing-braces \
|
||||
-Wno-parentheses -Wno-return-type -Wno-tautological-bitwise-compare \
|
||||
-Wno-unsequenced -Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-implicit-int
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-main-return-type -Wno-missing-braces -Wno-parentheses \
|
||||
-Wno-return-type -Wno-tautological-bitwise-compare \
|
||||
-Wno-unsequenced -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-extra-semi-stmt \
|
||||
-Wno-misleading-indentation -Wno-reserved-identifier \
|
||||
-Wno-builtin-declaration-mismatch -Wno-sequence-point \
|
||||
-Wno-unused-value -Wno-unsafe-buffer-usage \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -88,7 +93,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-sequence-point -Wno-unused-value -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -83,7 +83,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-shorten-64-to-32
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-shorten-64-to-32 \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-5
@@ -39,9 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-dangling-else -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \
|
||||
-Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-int-in-bool-context -Wno-missing-parameter-type -Wno-unused-value \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,8 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32 \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-parentheses -Wno-pedantic -Wno-deprecated-non-prototype -Wno-int-conversion \
|
||||
-Wno-implicit-int -Wno-comma -Wno-missing-prototypes -Wno-return-type
|
||||
-Wno-parentheses -Wno-pedantic -Wno-deprecated-non-prototype \
|
||||
-Wno-int-conversion -Wno-implicit-int -Wno-comma -Wno-missing-prototypes \
|
||||
-Wno-return-type -Wno-misleading-indentation -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-int-conversion
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-int-conversion \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-builtin-declaration-mismatch
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-missing-parameter-type -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,8 +85,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-int-conversion -Wno-pointer-to-int-cast
|
||||
CSILENCE= -Wno-int-conversion -Wno-pointer-to-int-cast \
|
||||
-Wno-parentheses -Wno-stringop-overflow -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unused-macros
|
||||
-Wno-unused-macros -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+3
-2
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-pointer-sign
|
||||
-Wno-pointer-sign -Wno-builtin-declaration-mismatch -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +85,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
||||
-Wno-poison-system-directories -Wno-sign-conversion
|
||||
-Wno-poison-system-directories -Wno-sign-conversion \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+11
-7
@@ -39,10 +39,13 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion \
|
||||
-Wno-c99-extensions -Wno-deprecated-declarations \
|
||||
-Wno-deprecated-non-prototype -Wno-format -Wno-pedantic -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-unused-variable -Wno-implicit-int
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion \
|
||||
-Wno-c99-extensions -Wno-deprecated-declarations \
|
||||
-Wno-deprecated-non-prototype -Wno-format -Wno-pedantic \
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-variable \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -89,9 +92,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-implicit-int-conversion -Wno-shadow -Wno-shorten-64-to-32
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-implicit-int-conversion -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-3
@@ -38,7 +38,7 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body
|
||||
CSILENCE= -Wno-empty-body -Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,8 +84,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-unknown-warning-option \
|
||||
-Wno-comma -Wno-conditional-uninitialized -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion
|
||||
-Wno-comma -Wno-conditional-uninitialized -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-implicit-int
|
||||
CSILENCE= -Wno-implicit-int -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-c99-extensions -Wno-char-subscripts -Wno-dangling-else \
|
||||
-Wno-incompatible-pointer-types -Wno-unused-value
|
||||
-Wno-incompatible-pointer-types -Wno-unused-value -Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,9 +85,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-unreachable-code-loop-increment -Wno-unreachable-code
|
||||
-Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-unreachable-code-loop-increment -Wno-unreachable-code \
|
||||
-Wno-reserved-identifier -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
-Wno-format-overflow -Wno-misleading-indentation -Wno-implicit-int \
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-disabled-macro-expansion -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+3
-2
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-value -Wno-unused-parameter \
|
||||
-Wno-implicit-int
|
||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +85,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-pedantic -Wno-poison-system-directories \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-shadow
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-shadow \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,8 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-strict-prototypes -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
|
||||
-Wno-shadow -Wno-strict-prototypes
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||
-Wno-missing-braces -Wno-return-type -Wno-unused-but-set-variable \
|
||||
-Wno-unused-variable -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
-Wno-missing-braces -Wno-return-type -Wno-unused-but-set-variable \
|
||||
-Wno-unused-variable -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +87,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-float-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unused-macros
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-3
@@ -38,7 +38,8 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-deprecated-non-prototype -Wno-strict-prototypes
|
||||
CSILENCE= -Wno-error -Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,8 +85,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+4
-2
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-int-to-pointer-cast
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-int-to-pointer-cast \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-comma -Wno-shorten-64-to-32
|
||||
-Wno-comma -Wno-shorten-64-to-32 -Wno-reserved-identifier \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,8 +38,10 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-deprecated-declarations -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
CSILENCE= -Wno-deprecated-declarations -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +87,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shorten-64-to-32 -Wno-comma
|
||||
-Wno-shorten-64-to-32 -Wno-comma -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,8 +38,11 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \
|
||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-implicit-int
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-parentheses -Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +88,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-conditional-uninitialized -Wno-format-nonliteral \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-disabled-macro-expansion -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+9
-5
@@ -39,8 +39,11 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \
|
||||
-Wno-sign-compare -Wno-string-plus-int -Wno-unsequenced -Wno-unused-variable \
|
||||
-Wno-incompatible-pointer-types -Wno-strict-prototypes -Wno-pointer-sign
|
||||
-Wno-sign-compare -Wno-string-plus-int -Wno-unsequenced \
|
||||
-Wno-unused-variable -Wno-incompatible-pointer-types -Wno-strict-prototypes \
|
||||
-Wno-pointer-sign -Wno-builtin-declaration-mismatch -Wno-main \
|
||||
-Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-sequence-point \
|
||||
-Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,9 +89,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-implicit-int-conversion \
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-missing-noreturn
|
||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-missing-noreturn \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pointer-to-int-cast \
|
||||
-Wno-shift-op-parentheses -Wno-implicit-int
|
||||
-Wno-shift-op-parentheses -Wno-implicit-int -Wno-parentheses \
|
||||
-Wno-return-type -Wno-builtin-declaration-mismatch -Wno-int-in-bool-context
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -87,7 +88,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-poison-system-directories -Wno-shift-sign-overflow \
|
||||
-Wno-conditional-uninitialized -Wno-pedantic
|
||||
-Wno-conditional-uninitialized -Wno-pedantic \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+6
-4
@@ -39,8 +39,9 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
|
||||
-Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-unused-parameter
|
||||
-Wno-deprecated-non-prototype -Wno-format-security \
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-unused-parameter \
|
||||
-Wno-misleading-indentation
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -89,8 +90,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-format-nonliteral -Wno-sign-conversion
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-format-nonliteral -Wno-sign-conversion \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-misleading-indentation \
|
||||
-Wno-return-type
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-poison-system-directories \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,8 +38,10 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \
|
||||
-Wno-strict-prototypes
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-shift-op-parentheses -Wno-strict-prototypes \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-parentheses
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,8 +87,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shift-op-parentheses
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shift-op-parentheses -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-3
@@ -39,8 +39,10 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
||||
-Wno-sign-compare -Wno-uninitialized -Wno-unsequenced -Wno-implicit-int
|
||||
-Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-return-type -Wno-sign-compare -Wno-uninitialized -Wno-unsequenced \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -86,7 +88,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion
|
||||
-Wno-sign-conversion -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+8
-5
@@ -38,8 +38,10 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \
|
||||
-Wno-unused-variable -Wno-implicit-int
|
||||
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type \
|
||||
-Wno-strict-prototypes -Wno-array-bounds -Wno-misleading-indentation \
|
||||
-Wno-pedantic -Wno-unused-variable -Wno-implicit-int \
|
||||
-Wno-stringop-overflow
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,9 +87,10 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||
-Wno-extra-semi-stmt -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage -Wno-strict-prototypes
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE=
|
||||
CSILENCE= -Wno-misleading-indentation -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -83,7 +83,8 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-3
@@ -38,8 +38,9 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-main-return-type -Wno-sign-compare
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-main-return-type \
|
||||
-Wno-sign-compare -Wno-main -Wno-parentheses -Wno-unused-value
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -85,7 +86,8 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-poison-system-directories
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-poison-system-directories \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Loaded 100 of 313 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user