add CUNKNOWN make variables to entry Makefiles
This commit is contained in:
1 parent
4d37308d12
commit
50a2a6293c
321 files changed
+1952
-1733
No files matched your search
@@ -40,12 +40,15 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-parentheses -Wno-return-type \
|
||||
-Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -53,9 +56,6 @@ CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -86,8 +86,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,11 +41,15 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main \
|
||||
-Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-return-type -Wno-unknown-warning-option
|
||||
-Wno-return-type
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -53,9 +57,6 @@ CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-padded -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-unknown-warning-option
|
||||
-Wno-misleading-indentation
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-implicit-int -Wno-unused-value -Wno-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-return-type
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-return-type
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -52,9 +56,6 @@ CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -42,12 +42,15 @@ 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-missing-parameter-type \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-parentheses -Wno-int-conversion -Wno-missing-parameter-type
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -55,9 +58,6 @@ CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -90,8 +90,7 @@ 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-reserved-identifier -Wno-reserved-macro-identifier \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-reserved-identifier -Wno-reserved-macro-identifier
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user