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

+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-c99-extensions -Wno-conditional-type-mismatch -Wno-implicit-int \
-Wno-logical-op-parentheses -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
#
@@ -51,9 +55,6 @@ CSTD= -std=gnu99
# 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-char-subscripts -Wno-extra-semi -Wno-implicit-int \
-Wno-return-type -Wno-unused-parameter -Wno-unused-value \
-Wno-misleading-indentation -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
#
@@ -52,9 +56,6 @@ CSTD= -std=gnu99
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+8 -8
View File
@@ -42,9 +42,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
-Wno-implicit-function-declaration -Wno-int-to-pointer-cast \
-Wno-unused-value -Wno-unused-parameter
# 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=gnu99
# 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,10 +88,9 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-missing-variable-declarations \
-Wno-shift-sign-overflow -Wno-unknown-warning-option \
-Wno-poison-system-directories -Wno-cast-align -Wno-missing-prototypes \
-Wno-shorten-64-to-32 -Wno-unreachable-code -Wno-unreachable-code-return \
-Wno-unsafe-buffer-usage
-Wno-shift-sign-overflow -Wno-poison-system-directories -Wno-cast-align \
-Wno-missing-prototypes -Wno-shorten-64-to-32 -Wno-unreachable-code \
-Wno-unreachable-code-return -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -40,11 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-return-type -Wno-deprecated-non-prototype \
-Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch
# 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
#
@@ -52,9 +56,6 @@ CSTD= -std=gnu99
# 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 +88,7 @@ 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-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
-Wno-int-to-pointer-cast -Wno-parentheses -Wno-pointer-to-int-cast \
-Wno-return-type -Wno-unused-parameter -Wno-unused-variable
# 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=gnu99
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+8 -8
View File
@@ -39,12 +39,15 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-pointer-sign -Wno-unused-parameter \
-Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow \
-Wno-unknown-warning-option
-Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow
# 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=gnu99
# 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,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-disabled-macro-expansion -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage -Wno-shorten-64-to-32 -Wno-sign-conversion
-Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage -Wno-shorten-64-to-32 \
-Wno-sign-conversion
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-absolute-value -Wno-keyword-macro -Wno-newline-eof \
-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=gnu99
# 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-int-to-pointer-cast -Wno-int-to-void-pointer-cast \
-Wno-trigraphs -Wno-unused-value -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
#
@@ -51,9 +55,6 @@ CSTD= -ansi
# 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
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-main -Wno-parentheses -Wno-deprecated-non-prototype \
-Wno-unused-parameter -Wno-builtin-declaration-mismatch \
-Wno-unknown-warning-option
-Wno-unused-parameter -Wno-builtin-declaration-mismatch
# 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=gnu99
# 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 +88,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-conditional-uninitialized -Wno-pedantic -Wno-poison-system-directories \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -6
View File
@@ -42,11 +42,15 @@ CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types \
-Wno-aggressive-loop-optimizations -Wno-array-bounds \
-Wno-implicit-fallthrough -Wno-maybe-uninitialized \
-Wno-misleading-indentation -Wno-unused-value \
-Wno-strict-prototypes -Wno-stringop-overflow -Wno-unknown-warning-option
-Wno-strict-prototypes -Wno-stringop-overflow
# 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 +58,6 @@ CSTD= -std=gnu99
# 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-array-bounds-pointer-arithmetic -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-sign-conversion -Wno-strict-prototypes -Wno-conditional-uninitialized \
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-unused-value \
-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
#
@@ -51,9 +55,6 @@ CSTD= -std=gnu99
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+8 -7
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-deprecated-declarations -Wno-error \
-Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch \
-Wno-stringop-truncation -Wno-unused-value -Wno-format-extra-args \
-Wno-strict-prototypes -Wno-unknown-warning-option
-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
#
@@ -53,9 +57,6 @@ CSTD= -std=gnu99
# 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 +88,8 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
-Wno-implicit-int-float-conversion -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage -Wno-poison-system-directories
-Wno-implicit-int-float-conversion -Wno-unsafe-buffer-usage \
-Wno-poison-system-directories
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-unsequenced -Wno-unused-value -Wno-strict-prototypes \
-Wno-unused-parameter -Wno-implicit-int -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
#
@@ -51,9 +55,6 @@ CSTD= -std=gnu99
# 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-bitwise-conditional-parentheses -Wno-format-extra-args \
-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
#
@@ -51,9 +55,6 @@ CSTD= -std=gnu99
# 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
@@ -39,11 +39,15 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-strict-prototypes -Wno-implicit-function-declaration \
-Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch
# 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=gnu99
# 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-reserved-macro-identifier -Wno-unknown-warning-option
-Wno-reserved-macro-identifier
#
CWARN+= -Weverything
#