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
+7
-7
@@ -43,11 +43,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-bitwise-instead-of-logical -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-return-type \
|
||||
-Wno-sequence-point -Wno-unused-value -Wno-unknown-warning-option
|
||||
-Wno-sequence-point -Wno-unused-value
|
||||
|
||||
# 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 +59,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Variables that control the control keys and time step
|
||||
@@ -103,8 +104,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-float-equal \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
-Wno-shadow -Wno-shorten-64-to-32 -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-6
@@ -42,11 +42,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||
-Wno-empty-body -Wno-invalid-source-encoding -Wno-main -Wno-parentheses \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int -Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-return-type -Wno-unused-parameter -Wno-unknown-warning-option
|
||||
-Wno-return-type -Wno-unused-parameter
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -54,9 +58,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# 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,7 +91,7 @@ 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-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-7
@@ -39,11 +39,15 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-missing-parameter-type -Wno-return-type -Wno-unknown-warning-option
|
||||
-Wno-missing-parameter-type -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=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -85,8 +86,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-poison-system-directories -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-c99-extensions -Wno-pedantic
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -50,9 +54,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
+6
-6
@@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts \
|
||||
-Wno-cast-function-type -Wno-misleading-indentation \
|
||||
-Wno-parentheses -Wno-unused-value
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -55,9 +59,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -93,8 +94,7 @@ CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-implicit-int-conversion \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \
|
||||
-Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-main-return-type -Wno-strict-prototypes \
|
||||
-Wno-misleading-indentation -Wno-unused-value
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-dangling-else -Wno-misleading-indentation
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -50,9 +54,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# 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-parentheses \
|
||||
-Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-implicit-int \
|
||||
-Wno-implicit-fallthrough -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=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
+7
-7
@@ -41,11 +41,15 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main \
|
||||
-Wno-implicit-function-declaration -Wno-address \
|
||||
-Wno-builtin-declaration-mismatch -Wno-int-conversion \
|
||||
-Wno-gnu-line-marker -Wno-unknown-warning-option
|
||||
-Wno-gnu-line-marker
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -53,9 +57,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# 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,8 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-disabled-macro-expansion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-padded \
|
||||
-Wno-poison-system-directories -Wno-unused-macros \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-poison-system-directories -Wno-unused-macros
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \
|
||||
-Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \
|
||||
-Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \
|
||||
-Wno-logical-op-parentheses -Wno-unknown-warning-option
|
||||
-Wno-logical-op-parentheses
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -54,9 +58,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -91,8 +92,7 @@ CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-pedantic \
|
||||
-Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
|
||||
-Wno-cast-align -Wno-unreachable-code
|
||||
-Wno-unsafe-buffer-usage -Wno-cast-align -Wno-unreachable-code
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,11 +39,15 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-string-plus-int -Wno-switch-bool -Wno-array-bounds \
|
||||
-Wno-stringop-overread -Wno-unknown-warning-option
|
||||
-Wno-stringop-overread
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -85,7 +86,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros \
|
||||
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-trigraphs -Wno-sign-compare -Wno-string-plus-int -Wno-switch-bool \
|
||||
-Wno-implicit-int -Wno-cast-function-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
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -39,12 +39,15 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-trigraphs -Wno-deprecated-non-prototype -Wno-unused-parameter \
|
||||
-Wno-misleading-indentation -Wno-missing-parameter-type \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-misleading-indentation -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
|
||||
#
|
||||
@@ -52,9 +55,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -87,8 +87,7 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-padded -Wno-poison-system-directories -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-reserved-macro-identifier -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
-Wno-sign-conversion -Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-misleading-indentation -Wno-sign-compare
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -50,9 +54,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
Reference in new issue
Block a user