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-empty-body -Wno-error -Wno-implicit-function-declaration \
-Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \
-Wno-strict-prototypes -Wno-implicit-int \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch -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
#
@@ -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
@@ -89,8 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-strict-prototypes -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+8 -7
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \
-Wno-deprecated-non-prototype -Wno-strict-prototypes \
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
-Wno-misleading-indentation -Wno-unknown-warning-option
-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=
# Defines that are needed to compile
@@ -88,8 +89,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
-Wno-shadow -Wno-strict-prototypes
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-shadow \
-Wno-strict-prototypes
#
CWARN+= -Weverything
#
+7 -8
View File
@@ -41,12 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
-Wno-missing-braces -Wno-return-type -Wno-unused-but-set-variable \
-Wno-unused-variable -Wno-deprecated-non-prototype -Wno-implicit-int \
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
-Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type
# 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
@@ -90,8 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-float-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-error -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
#
@@ -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
+5 -4
View File
@@ -42,9 +42,13 @@ CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \
-Wno-strict-prototypes -Wno-implicit-int -Wno-int-to-pointer-cast \
-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-deprecated-declarations -Wno-error \
-Wno-implicit-function-declaration -Wno-strict-prototypes \
-Wno-implicit-int -Wno-builtin-declaration-mismatch \
-Wno-return-type -Wno-unknown-warning-option
-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,8 +88,7 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shorten-64-to-32 -Wno-comma -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-shorten-64-to-32 -Wno-comma -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
-Wno-strict-prototypes -Wno-implicit-int \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-parentheses -Wno-return-type -Wno-unknown-warning-option
-Wno-parentheses -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
#
@@ -54,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,8 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-conditional-uninitialized -Wno-format-nonliteral \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-disabled-macro-expansion -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage
#
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=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 -6
View File
@@ -43,11 +43,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \
-Wno-unused-variable -Wno-incompatible-pointer-types -Wno-strict-prototypes \
-Wno-pointer-sign -Wno-builtin-declaration-mismatch -Wno-main \
-Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-sequence-point \
-Wno-unused-value -Wno-unknown-warning-option
-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
@@ -92,7 +93,7 @@ CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-implicit-int-conversio
-Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
-Wno-sign-conversion -Wno-strict-prototypes -Wno-missing-noreturn \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pointer-to-int-cast \
-Wno-shift-op-parentheses -Wno-implicit-int -Wno-parentheses \
-Wno-return-type -Wno-builtin-declaration-mismatch -Wno-int-in-bool-context \
-Wno-unknown-warning-option
-Wno-return-type -Wno-builtin-declaration-mismatch -Wno-int-in-bool-context
# 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=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
@@ -90,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-poison-system-directories -Wno-shift-sign-overflow \
-Wno-conditional-uninitialized -Wno-pedantic \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -40,9 +40,13 @@ include ../../var.mk
#
CSILENCE= -Wno-poison-system-directories -Wno-undef -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=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