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 -7
View File
@@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \
-Wno-implicit-function-declaration -Wno-return-type \
-Wno-deprecated-non-prototype -Wno-implicit-int \
-Wno-misleading-indentation -Wno-missing-parameter-type \
-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 ${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
@@ -90,8 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
-Wno-strict-prototypes -Wno-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
-Wno-unused-value -Wno-implicit-int -Wno-builtin-declaration-mismatch \
-Wno-pedantic -Wno-unknown-warning-option
-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
#
@@ -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-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \
-Wno-unused-macros -Wno-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-unused-macros -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -7
View File
@@ -43,11 +43,15 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
-Wno-return-type -Wno-unknown-escape-sequence -Wno-unused-value \
-Wno-deprecated-non-prototype -Wno-implicit-int \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-missing-parameter-type -Wno-parentheses -Wno-unknown-warning-option
-Wno-missing-parameter-type -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
#
@@ -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
@@ -90,8 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shadow -Wno-strict-prototypes -Wno-unsafe-buffer-usage \
-Wno-unknown-warning-option
-Wno-shadow -Wno-strict-prototypes -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-unused-label -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
+6 -5
View File
@@ -46,9 +46,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declarat
-Wno-missing-parameter-type -Wno-parentheses -Wno-strict-aliasing \
-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
#
@@ -56,9 +60,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
@@ -94,7 +95,7 @@ CSILENCE+= -Wno-bad-function-cast -Wno-conditional-uninitialized \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shadow -Wno-shift-sign-overflow \
-Wno-sign-conversion -Wno-strict-prototypes \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -8
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \
-Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-missing-parameter-type -Wno-return-type -Wno-unused-value \
-Wno-unknown-warning-option
-Wno-missing-parameter-type -Wno-return-type -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
#
@@ -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
@@ -89,8 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-deprecated-non-prototype -Wno-implicit-int-conversion \
-Wno-missing-variable-declarations -Wno-overlength-strings -Wno-pedantic \
-Wno-poison-system-directories -Wno-unused-parameter \
-Wno-misleading-indentation -Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+8 -8
View File
@@ -41,12 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int \
-Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype \
-Wno-disabled-macro-expansion -Wno-missing-parameter-type \
-Wno-unknown-warning-option
-Wno-disabled-macro-expansion -Wno-missing-parameter-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 +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 +87,7 @@ CC= cc
#
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option
CSILENCE+= -Wno-poison-system-directories
#
CWARN+= -Weverything
#
@@ -97,7 +97,7 @@ endif
#
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
#
CSILENCE+= -Wno-missing-parameter-type -Wno-unknown-warning-option
CSILENCE+= -Wno-missing-parameter-type
#
#CWARN+=
#
+7 -6
View File
@@ -41,11 +41,15 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
-Wno-strict-prototypes -Wno-implicit-int -Wno-return-type \
-Wno-unused-value -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,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-shorten-64-to-32 \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-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-parentheses \
-Wno-shift-op-parentheses -Wno-return-type \
-Wno-deprecated-non-prototype -Wno-missing-braces -Wno-implicit-int \
-Wno-misleading-indentation -Wno-missing-parameter-type -Wno-unused-value \
-Wno-unknown-warning-option
-Wno-misleading-indentation -Wno-missing-parameter-type -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 +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
@@ -92,7 +92,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#