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 -6
View File
@@ -39,11 +39,15 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-deprecated-declarations -Wno-strict-prototypes -Wno-address \
-Wno-maybe-uninitialized -Wno-unknown-warning-option
-Wno-maybe-uninitialized
# 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
@@ -88,7 +89,7 @@ CSILENCE+= -Wno-conditional-uninitialized -Wno-format-nonliteral \
-Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-padded \
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
-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-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
#
@@ -50,9 +54,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
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -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=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 -8
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-parentheses -Wno-builtin-declaration-mismatch \
-Wno-misleading-indentation -Wno-unused-value \
-Wno-unknown-warning-option
-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
#
@@ -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
@@ -87,8 +87,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-poison-system-directories \
-Wno-misleading-indentation -Wno-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+6 -5
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-format -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=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
@@ -86,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-sign-conversion \
-Wno-strict-prototypes -Wno-cast-function-type-strict \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch \
-Wno-return-type -Wno-strict-prototypes -Wno-implicit-int \
-Wno-misleading-indentation -Wno-pedantic -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=
# Defines that are needed to compile
+5 -4
View File
@@ -44,9 +44,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined \
-Wno-unused-value -Wno-unused-variable -Wno-sequence-point \
-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
#
@@ -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
+5 -4
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-deprecated-non-prototype -Wno-main -Wno-unused-parameter \
-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
#
@@ -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
+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=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
@@ -40,11 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-shift-op-parentheses \
-Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-parentheses \
-Wno-stringop-truncation -Wno-unknown-warning-option
-Wno-stringop-truncation
# 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,7 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-sign-conversion \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
-Wno-pedantic -Wno-deprecated-non-prototype -Wno-unused-parameter \
-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
#
@@ -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
+5 -4
View File
@@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \
-Wno-int-conversion -Wno-pedantic -Wno-deprecated-non-prototype \
-Wno-misleading-indentation -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=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
@@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
-Wno-int-conversion -Wno-pointer-type-mismatch -Wno-unsequenced \
-Wno-deprecated-non-prototype -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
#
@@ -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
+5 -4
View File
@@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
-Wno-shift-op-parentheses -Wno-main -Wno-deprecated-non-prototype \
-Wno-misleading-indentation
# 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=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