silence most warnings under macOS
For macOS Apple clang version 15.0.0 (clang-1500.3.9.4) compiler, we have silenced the warnings that can be silenced. We also updated `.gitignore` for `2014/maffiodo2` and `1995/vanschnitz`.
This commit is contained in:
1 parent
1f2920d7ba
commit
a86786130f
78 files changed
+120
-83
No files matched your search
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \
|
CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \
|
||||||
-Wno-unused-macros
|
-Wno-unused-macros -Wno-missing-variable-declarations -Wno-shadow
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||||
-Wno-parentheses -Wno-c99-extensions -Wno-declaration-after-statement \
|
-Wno-parentheses -Wno-c99-extensions -Wno-declaration-after-statement \
|
||||||
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-string-plus-char
|
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-string-plus-char \
|
||||||
|
-Wno-macro-redefined
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -85,7 +85,8 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes
|
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||||
|
-Wno-unused-macros
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
|
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes
|
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||||
|
-Wno-unused-macros
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes
|
CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes \
|
||||||
|
-Wno-gnu-line-marker
|
||||||
|
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ include ../../var.mk
|
|||||||
CSILENCE= -Wno-pedantic -Wno-logical-not-parentheses -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-pedantic -Wno-logical-not-parentheses -Wno-implicit-function-declaration \
|
||||||
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-pointer-to-int-cast \
|
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-pointer-to-int-cast \
|
||||||
-Wno-pointer-integer-compare -Wno-compare-distinct-pointer-types \
|
-Wno-pointer-integer-compare -Wno-compare-distinct-pointer-types \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-pedantic -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-pedantic -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype
|
-Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -85,7 +85,8 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||||
|
-Wno-double-promotion -Wno-float-conversion
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-float-equal -Wno-implicit-int-conversion \
|
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-float-equal -Wno-implicit-int-conversion \
|
||||||
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
-Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||||
-Wno-poison-system-directories -Wno-shorten-64-to-32
|
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+3
-2
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||||
-Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \
|
-Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \
|
||||||
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype
|
-Wno-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -86,7 +87,7 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \
|
CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \
|
CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \
|
||||||
-Wno-int-to-pointer-cast -Wno-strict-prototypes
|
-Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes
|
-Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
|||||||
CSILENCE= -Wno-error -Wno-pointer-to-int-cast -Wno-no-return-type -Wno-empty-body \
|
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-implicit-function-declaration -Wno-string-plus-int -Wno-return-type \
|
||||||
-Wno-unknown-warning-option -Wno-deprecated-non-prototype \
|
-Wno-unknown-warning-option -Wno-deprecated-non-prototype \
|
||||||
-Wno-shorten-64-to-32 -Wno-int-conversion
|
-Wno-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -42,7 +42,9 @@ CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \
|
|||||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||||
-Wno-int-conversion -Wno-return-type -Wno-parentheses \
|
-Wno-int-conversion -Wno-return-type -Wno-parentheses \
|
||||||
-Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \
|
-Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \
|
||||||
-Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast
|
-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
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-deprecated-declarations -Wno-parentheses -Wno-error \
|
CSILENCE= -Wno-deprecated-declarations -Wno-parentheses -Wno-error \
|
||||||
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
||||||
-Wno-unused-value -Wno-deprecated-non-prototype
|
-Wno-unused-value -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \
|
-Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \
|
||||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype
|
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-strict-prototypes
|
CSILENCE= -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \
|
CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \
|
||||||
-Wno-pedantic -Wno-strict-prototypes
|
-Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
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-unreachable-code
|
-Wno-unreachable-code -Wno-disabled-macro-expansion
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
|
-Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||||
-Wno-uninitialized
|
-Wno-uninitialized -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \
|
||||||
-Wno-implicit-function-declaration -Wno-return-type \
|
-Wno-implicit-function-declaration -Wno-return-type \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value
|
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
|
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
|
||||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-deprecated-declarations \
|
||||||
|
-Wno-incompatible-pointer-types
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \
|
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||||
-Wno-error -Wno-implicit-function-declaration
|
-Wno-error -Wno-implicit-function-declaration -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -95,7 +95,7 @@ endif
|
|||||||
#
|
#
|
||||||
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
|
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-missing-parameter-type
|
CSILENCE+= -Wno-missing-parameter-type -Wno-unknown-warning-option
|
||||||
#
|
#
|
||||||
#CWARN+=
|
#CWARN+=
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-shift-op-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
|
-Wno-shift-op-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
|
||||||
-Wno-missing-braces
|
-Wno-missing-braces -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \
|
||||||
|
-Wno-parentheses-equality -Wno-return-type
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -84,7 +85,8 @@ CC= cc
|
|||||||
#
|
#
|
||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
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-comma \
|
||||||
|
-Wno-missing-prototypes -Wno-missing-variable-declarations
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \
|
||||||
-Wno-return-type -Wno-deprecated-non-prototype
|
-Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+3
-2
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -87,7 +87,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
CSILENCE+= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
CSILENCE+= -Wno-error -Wno-implicit-function-declaration -Wno-format \
|
||||||
-Wno-missing-variable-declarations -Wno-poison-system-directorie \
|
-Wno-missing-variable-declarations -Wno-poison-system-directorie \
|
||||||
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
-Wno-poison-system-directories -Wno-unknown-warning-option \
|
||||||
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion
|
-Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \
|
||||||
|
-Wno-disabled-macro-expansion
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-poison-system-directories -Wno-comma \
|
CSILENCE+= -Wno-poison-system-directories -Wno-comma \
|
||||||
-Wno-conditional-uninitialized -Wno-sign-conversion
|
-Wno-conditional-uninitialized -Wno-sign-conversion \
|
||||||
|
-Wno-disabled-macro-expansion
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -88,7 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||||
-Wno-shadow -Wno-strict-prototypes
|
-Wno-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \
|
|||||||
-Wno-incompatible-pointer-types -Wno-int-conversion \
|
-Wno-incompatible-pointer-types -Wno-int-conversion \
|
||||||
-Wno-c99-extensions -Wno-deprecated-declarations \
|
-Wno-c99-extensions -Wno-deprecated-declarations \
|
||||||
-Wno-deprecated-non-prototype -Wno-format -Wno-pedantic -Wno-return-type \
|
-Wno-deprecated-non-prototype -Wno-format -Wno-pedantic -Wno-return-type \
|
||||||
-Wno-strict-prototypes -Wno-unused-variable
|
-Wno-strict-prototypes -Wno-unused-variable -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-padded \
|
-Wno-missing-variable-declarations -Wno-padded \
|
||||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||||
-Wno-unreachable-code-loop-increment
|
-Wno-unreachable-code-loop-increment -Wno-unreachable-code
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype
|
CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \
|
-Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||||
-Wno-missing-braces -Wno-return-type -Wno-unused-but-set-variable \
|
-Wno-missing-braces -Wno-return-type -Wno-unused-but-set-variable \
|
||||||
-Wno-unused-variable -Wno-deprecated-non-prototype
|
-Wno-unused-variable -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \
|
CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int -Wno-int-to-pointer-cast
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||||
-Wno-shorten-64-to-32
|
-Wno-shorten-64-to-32 -Wno-comma
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \
|
||||||
-Wno-sign-compare -Wno-string-plus-int -Wno-unsequenced -Wno-unused-variable \
|
-Wno-sign-compare -Wno-string-plus-int -Wno-unsequenced -Wno-unused-variable \
|
||||||
-Wno-incompatible-pointer-types -Wno-strict-prototypes
|
-Wno-incompatible-pointer-types -Wno-strict-prototypes -Wno-pointer-sign
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-poison-system-directories -Wno-undef
|
CSILENCE= -Wno-poison-system-directories -Wno-undef -Wno-strict-prototypes
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
|
CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
|
||||||
-Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes
|
-Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes \
|
||||||
|
-Wno-implicit-int -Wno-unused-parameter
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
|
CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
|
||||||
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
||||||
-Wno-sign-compare -Wno-uninitialized -Wno-unsequenced
|
-Wno-sign-compare -Wno-uninitialized -Wno-unsequenced -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \
|
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \
|
||||||
-Wno-unused-variable
|
-Wno-unused-variable -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-int-conversion -Wno-implicit-int -Wno-return-type
|
-Wno-int-conversion -Wno-implicit-int -Wno-return-type \
|
||||||
|
-Wno-deprecated-non-prototype
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -84,7 +85,7 @@ CC= cc
|
|||||||
#
|
#
|
||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories
|
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \
|
||||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype
|
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-empty-body -Wno-strict-prototypes
|
CSILENCE= -Wno-empty-body -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -6,4 +6,5 @@ indent.c
|
|||||||
indent.o
|
indent.o
|
||||||
prog.orig
|
prog.orig
|
||||||
vanschnitz
|
vanschnitz
|
||||||
|
vanschnitz.alt
|
||||||
vanschnitz.orig
|
vanschnitz.orig
|
||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-deprecated-declarations -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-infinite-recursion -Wno-return-type -Wno-string-plus-int \
|
-Wno-infinite-recursion -Wno-return-type -Wno-string-plus-int \
|
||||||
-Wno-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype
|
-Wno-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -38,7 +38,8 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes
|
CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes \
|
||||||
|
-Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-date-time -Wno-double-promotion \
|
CSILENCE+= -Wno-comma -Wno-date-time -Wno-double-promotion \
|
||||||
-Wno-poison-system-directories -Wno-unreachable-code
|
-Wno-poison-system-directories -Wno-unreachable-code -Wno-c99-compat
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||||
-Wno-empty-body -Wno-invalid-source-encoding -Wno-main -Wno-parentheses \
|
-Wno-empty-body -Wno-invalid-source-encoding -Wno-main -Wno-parentheses \
|
||||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int
|
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-main -Wno-deprecated-non-prototype
|
CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||||
-Wno-shift-op-parentheses -Wno-strict-prototypes
|
-Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main -Wno-implicit-function-declaration \
|
||||||
-Wno-int-conversion
|
-Wno-int-conversion -Wno-gnu-line-marker
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||||
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \
|
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \
|
||||||
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value
|
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \
|
||||||
|
-Wno-logical-op-parentheses
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \
|
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \
|
||||||
-Wno-cast-align
|
-Wno-cast-align -Wno-unreachable-code
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
|||||||
|
|
||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-trigraphs
|
CSILENCE= -Wno-trigraphs -Wno-deprecated-non-prototype -Wno-unused-parameter
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \
|
CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \
|
||||||
-Wno-deprecated-non-prototype -Wno-unused-parameter
|
-Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||||
|
-Wno-incompatible-pointer-types
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -90,7 +91,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-strict-prototypes
|
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||||
|
-Wno-padded
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+3
-1
@@ -83,7 +83,9 @@ CC= cc
|
|||||||
#
|
#
|
||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-poison-system-directories
|
CSILENCE+= -Wno-poison-system-directories -Wno-conditional-uninitialized \
|
||||||
|
-Wno-implicit-int-conversion -Wno-missing-noreturn \
|
||||||
|
-Wno-missing-variable-declarations -Wno-shorten-64-to-32
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -86,7 +86,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \
|
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \
|
||||||
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
-Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes
|
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \
|
||||||
|
-Wno-unreachable-code
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-int-to-pointer-cast -Wno-int-to-void-pointer-cast -Wno-trigraphs \
|
CSILENCE= -Wno-int-to-pointer-cast -Wno-int-to-void-pointer-cast -Wno-trigraphs \
|
||||||
-Wno-unused-value
|
-Wno-unused-value -Wno-gnu-line-marker
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||||
-Wno-main -Wno-parentheses -Wno-deprecated-non-prototype
|
-Wno-main -Wno-parentheses -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-padded \
|
-Wno-missing-variable-declarations -Wno-padded \
|
||||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||||
-Wno-unused-macros
|
-Wno-unused-macros -Wno-documentation-unknown-command
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
|||||||
# Common C compiler warnings to silence
|
# Common C compiler warnings to silence
|
||||||
#
|
#
|
||||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||||
-Wno-parentheses -Wno-int-conversion -Wno-unsequenced
|
-Wno-parentheses -Wno-int-conversion -Wno-unsequenced -Wno-return-type
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -85,7 +85,8 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-float-conversion -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
CSILENCE+= -Wno-float-conversion -Wno-format-nonliteral -Wno-implicit-int-conversion \
|
||||||
-Wno-missing-variable-declarations -Wno-poison-system-directories
|
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||||
|
-Wno-missing-prototypes
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@ include ../../var.mk
|
|||||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch -Wno-error \
|
CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch -Wno-error \
|
||||||
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
|
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
|
||||||
-Wno-int-conversion -Wno-main -Wno-return-type -Wno-unused-parameter \
|
-Wno-int-conversion -Wno-main -Wno-return-type -Wno-unused-parameter \
|
||||||
-Wno-deprecated-non-prototype
|
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-dollar-in-identifier-extension \
|
|||||||
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-padded -Wno-pedantic \
|
-Wno-missing-variable-declarations -Wno-padded -Wno-pedantic \
|
||||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||||
-Wno-strict-prototypes
|
-Wno-strict-prototypes -Wno-shorten-64-to-32
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
+3
-1
@@ -84,7 +84,9 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \
|
||||||
-Wno-poison-system-directories -Wno-shorten-64-to-32
|
-Wno-poison-system-directories -Wno-shorten-64-to-32 \
|
||||||
|
-Wno-float-conversion -Wno-format-nonliteral -Wno-missing-prototypes \
|
||||||
|
-Wno-shadow -Wno-shift-sign-overflow
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ indent
|
|||||||
indent.c
|
indent.c
|
||||||
indent.o
|
indent.o
|
||||||
prog
|
prog
|
||||||
|
prog.alt
|
||||||
prog.orig
|
prog.orig
|
||||||
@@ -40,7 +40,8 @@ include ../../var.mk
|
|||||||
#
|
#
|
||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||||
-Wno-logical-op-parentheses -Wno-main -Wno-parentheses -Wno-pedantic \
|
-Wno-logical-op-parentheses -Wno-main -Wno-parentheses -Wno-pedantic \
|
||||||
-Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype
|
-Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -84,7 +84,8 @@ CC= cc
|
|||||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||||
#
|
#
|
||||||
CSILENCE+= -Wno-poison-system-directories -Wno-float-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-poison-system-directories -Wno-float-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-padded -Wno-declaration-after-statement
|
-Wno-missing-variable-declarations -Wno-padded -Wno-declaration-after-statement \
|
||||||
|
-Wno-documentation-unknown-command
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||||
-Wno-shorten-64-to-32
|
-Wno-shorten-64-to-32 -Wno-shadow
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user