add CUNKNOWN make variables to entry Makefiles

This commit is contained in:
Landon Curt Noll committed 2024-06-30 21:29:27 -07:00
1 parent 4d37308d12
commit 50a2a6293c
321 files changed
+1952 -1733

No files matched your search

+7 -8
View File
@@ -41,12 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-comment -Wno-dangling-else -Wno-error \
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
-Wno-parentheses -Wno-trigraphs -Wno-newline-eof \
-Wno-builtin-declaration-mismatch -Wno-sequence-point \
-Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch -Wno-sequence-point
# 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
#
@@ -54,9 +57,6 @@ CSTD= -std=c99
# 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-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \
-Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-sign-conversion \
-Wno-misleading-indentation -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-dollar-in-identifier-extension \
-Wno-int-conversion -Wno-main -Wno-newline-eof \
-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
#
@@ -53,9 +57,6 @@ CSTD= -std=gnu11
# 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 -6
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-empty-body -Wno-strict-prototypes -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=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -224,8 +225,8 @@ clean:
clobber: clean
${RM} -f ${TARGET} ${ALT_TARGET}
${RM} -rf *.dSYM
${RM} -f main.c treacle.c
${RM} -f alpha.txt ast.txt raw.txt reg.txt seq.txt
${RM} -f main.c treacle.c
${RM} -f alpha.txt ast.txt raw.txt reg.txt seq.txt
@-if [ -e sandwich ]; then \
${RM} -f sandwich; \
echo 'ate sandwich'; \
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-pedantic -Wno-string-plus-int
# 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=gnu11
# 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 -5
View File
@@ -46,9 +46,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \
-Wno-implicit-int -Wno-deprecated-non-prototype \
-Wno-misleading-indentation -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
#
@@ -56,9 +60,6 @@ CSTD= -std=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -96,7 +97,7 @@ CSILENCE+= -Wno-comma -Wno-documentation -Wno-extra-semi -Wno-implicit-int \
-Wno-declaration-after-statement -Wno-implicit-int-conversion \
-Wno-extra-semi-stmt -Wno-incompatible-function-pointer-types-strict \
-Wno-reserved-identifier -Wno-reserved-macro-identifier \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-return-type -Wno-unused-parameter -Wno-deprecated-non-prototype
# 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=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-logical-op-parentheses \
-Wno-misleading-indentation -Wno-parentheses -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
#
@@ -51,9 +55,6 @@ CSTD= -std=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-pointer-arith -Wno-strict-prototypes
# 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=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+5 -4
View File
@@ -42,9 +42,13 @@ CSILENCE= -Wno-format-extra-args -Wno-keyword-macro -Wno-parentheses \
-Wno-unused-parameter -Wno-deprecated-non-prototype \
-Wno-strict-prototypes -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
#
@@ -52,9 +56,6 @@ CSTD= -std=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-int-in-bool-context -Wno-parentheses
# 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=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-strict-prototypes
# 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=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile