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 -6
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
-Wno-strict-prototypes -Wno-implicit-int -Wno-unused-parameter \
-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=gnu90
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Variable to simplify reconfiguring sleep time for alternate code
@@ -92,8 +93,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-strict-prototypes \
-Wno-format-nonliteral -Wno-sign-conversion \
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -42,9 +42,13 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
-Wno-strict-prototypes -Wno-implicit-int -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=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
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration \
-Wno-shift-op-parentheses -Wno-strict-prototypes \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-parentheses -Wno-unknown-warning-option
-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
#
@@ -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-error -Wno-implicit-function-declaration \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shift-op-parentheses -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-shift-op-parentheses -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -42,12 +42,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
-Wno-implicit-function-declaration -Wno-format-security \
-Wno-return-type -Wno-sign-compare -Wno-uninitialized -Wno-unsequenced \
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
-Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point \
-Wno-unknown-warning-option
-Wno-misleading-indentation -Wno-parentheses -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
#
@@ -55,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
@@ -89,7 +89,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-poison-system-directories \
-Wno-sign-conversion -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-sign-conversion -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type \
-Wno-strict-prototypes -Wno-array-bounds -Wno-misleading-indentation \
-Wno-pedantic -Wno-unused-variable -Wno-implicit-int \
-Wno-stringop-overflow -Wno-unknown-warning-option
-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
#
@@ -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
@@ -89,8 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \
-Wno-extra-semi-stmt -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage -Wno-strict-prototypes
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-strict-prototypes
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -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
#
@@ -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
+5 -4
View File
@@ -42,9 +42,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
-Wno-implicit-function-declaration -Wno-main-return-type \
-Wno-sign-compare -Wno-main -Wno-parentheses -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=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
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-Wno-int-conversion -Wno-implicit-int -Wno-return-type \
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
-Wno-deprecated-non-prototype -Wno-unknown-warning-option
-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
#
@@ -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
@@ -86,8 +87,7 @@ CC= cc
#
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes \
-Wno-unknown-warning-option
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes
#
CWARN+= -Weverything
#
+7 -6
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-empty-body -Wno-format -Wno-incompatible-library-redeclaration \
-Wno-non-literal-null-conversion -Wno-deprecated-non-prototype \
-Wno-strict-prototypes -Wno-implicit-int -Wno-builtin-declaration-mismatch \
-Wno-misleading-indentation -Wno-return-type -Wno-unknown-warning-option
-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
#
@@ -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
@@ -87,7 +88,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-format-nonliteral -Wno-poison-system-directories -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
View File
@@ -41,12 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
-Wno-parentheses -Wno-return-type -Wno-implicit-int \
-Wno-unknown-warning-option
-Wno-parentheses -Wno-return-type -Wno-implicit-int
# 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 +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,7 +88,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-empty-body -Wno-strict-prototypes -Wno-implicit-int \
-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
#
@@ -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
+7 -7
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-tokens \
-Wno-overlength-strings -Wno-strict-prototypes -Wno-implicit-int \
-Wno-builtin-declaration-mismatch -Wno-endif-labels -Wno-return-type \
-Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch -Wno-endif-labels -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
#
@@ -53,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
@@ -86,7 +86,7 @@ CC= cc
#
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option
CSILENCE+= -Wno-poison-system-directories
#
CWARN+= -Weverything
#