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

+6 -5
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-long-long -Wno-parentheses \
-Wno-misleading-indentation -Wno-sequence-point -Wno-sign-compare \
-Wno-unused-value -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=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,7 +92,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
-Wno-sign-conversion -Wno-strict-prototypes \
-Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -6
View File
@@ -42,11 +42,15 @@ CSILENCE= -Wno-absolute-value -Wno-char-subscripts -Wno-dangling-else \
-Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-Wno-shift-op-parentheses -Wno-implicit-int -Wno-strict-prototypes \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-sign-compare -Wno-unused-value -Wno-unknown-warning-option
-Wno-sign-compare -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
#
@@ -54,9 +58,6 @@ CSTD= -std=gnu11
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Variables to control dimensions of the game
@@ -97,7 +98,7 @@ CSILENCE+= -Wno-double-promotion -Wno-float-conversion -Wno-implicit-float-conve
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \
-Wno-declaration-after-statement -Wno-extra-semi-stmt \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-implicit-int -Wno-int-conversion \
-Wno-unsequenced -Wno-unused-value -Wno-strict-prototypes \
-Wno-cpp -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
#
@@ -54,9 +58,6 @@ CSTD= -std=c11
# 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-misleading-indentation \
-Wno-multistatement-macros -Wno-unknown-warning-option
-Wno-multistatement-macros
# 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
@@ -90,7 +91,7 @@ CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-float-conversion \
-Wno-poison-system-directories -Wno-redundant-parens -Wno-shadow \
-Wno-sign-conversion -Wno-strict-prototypes \
-Wno-extra-semi-stmt -Wno-misleading-indentation \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -6
View File
@@ -40,11 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
-Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
-Wno-format-zero-length -Wno-unknown-warning-option
-Wno-format-zero-length
# 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
@@ -86,7 +87,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-format-nonliteral -Wno-poison-system-directories \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-main -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-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-main -Wno-pedantic -Wno-return-type -Wno-deprecated-non-prototype \
-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
#
@@ -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-strict-prototypes -Wno-ignored-qualifiers
# 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-sign-compare -Wno-deprecated-non-prototype -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
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-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=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,11 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-parentheses -Wno-unused-parameter -Wno-unknown-warning-option
-Wno-parentheses -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=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
@@ -85,7 +86,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \
-Wno-poison-system-directories -Wno-shadow
#
CWARN+= -Weverything
+7 -8
View File
@@ -38,12 +38,15 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-keyword-macro -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
-Wno-unknown-warning-option
CSILENCE= -Wno-keyword-macro -Wno-strict-prototypes -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 +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
@@ -84,8 +84,7 @@ CC= cc
#
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros \
-Wno-unknown-warning-option
CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros
#
CWARN+= -Weverything
#
+7 -4
View File
@@ -40,9 +40,15 @@ include ../../var.mk
#
CSILENCE=
# Attempt to silence unknown warnings
#
# Example: CUNKNOWN= -Wno-unknown-warning-option
#
CUNKNOWN=
# Common C compiler warning flags
#
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
# Compiler standard
#
@@ -50,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
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-dollar-in-identifier-extension -Wno-null-character \
-Wno-misleading-indentation -Wno-pedantic -Wno-null-pointer-subtraction
# 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