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

+5 -4
View File
@@ -41,9 +41,13 @@ include ../../var.mk
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \
-Wno-strict-prototypes -Wno-implicit-int -Wno-pedantic -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=gnu89
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
+8 -7
View File
@@ -42,20 +42,21 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration -Wno-imp
-Wno-int-to-pointer-cast -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-Wno-missing-parameter-type -Wno-parentheses -Wno-return-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
#
CSTD= -std=gnu89
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
# Compiler standard
#
ARCH=
@@ -89,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
-Wno-unused-macros -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unused-macros -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#
+7 -6
View File
@@ -40,11 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \
-Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
-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
#
@@ -52,9 +56,6 @@ CSTD= -std=gnu89
# 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-poison-system-directories -Wno-shorten-64-to-32 \
-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-implicit-int -Dunix=1 \
-Wno-string-plus-int -Wno-strict-prototypes -Wno-return-type \
-Wno-builtin-declaration-mismatch -Wno-format-contains-nul \
-Wno-unknown-warning-option
-Wno-builtin-declaration-mismatch -Wno-format-contains-nul
# 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=gnu89
# 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-array-bounds-pointer-arithmetic -Wno-format-nonliteral \
-Wno-poison-system-directories -Wno-unknown-warning-option \
-Wno-poison-system-directories \
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
+8 -7
View File
@@ -40,20 +40,21 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-deprecated-non-prototype -Wno-maybe-uninitialized -Wno-misleading-indentation \
-Wno-missing-parameter-type -Wno-return-type -Wno-unknown-warning-option
-Wno-missing-parameter-type -Wno-return-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
#
CSTD= -std=gnu89
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
# Compiler standard
#
ARCH=
@@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
-Wno-unused-macros -Wno-unsafe-buffer-usagen -Wno-unknown-warning-option \
-Wno-unused-macros -Wno-unsafe-buffer-usagen \
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
+7 -6
View File
@@ -44,9 +44,13 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-incompatible-pointer-types \
-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=gnu89
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -100,7 +101,7 @@ endif
#
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
#
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch
#
#CWARN+=
#
@@ -110,7 +111,7 @@ endif
#
ifeq ($(CC),cc)
#
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch
#
#CWARN+=
#
+7 -7
View File
@@ -40,12 +40,15 @@ include ../../var.mk
#
CSILENCE= -Wno-for-loop-analysis -Wno-unused-value \
-Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-implicit-int \
-Wno-int-in-bool-context -Wno-maybe-uninitialized -Wno-return-type \
-Wno-unknown-warning-option
-Wno-int-in-bool-context -Wno-maybe-uninitialized -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=gnu89
# 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-strict-prototypes \
-Wno-conditional-uninitialized -Wno-misleading-indentation \
-Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#