add CUNKNOWN make variables to entry Makefiles
This commit is contained in:
1 parent
4d37308d12
commit
50a2a6293c
321 files changed
+1952
-1733
No files matched your search
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-trigraphs -Wno-comment -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=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -39,12 +39,15 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-parentheses -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-parentheses -Wno-strict-prototypes -Wno-builtin-declaration-mismatch
|
||||
|
||||
# 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 +55,6 @@ CSTD= -std=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -85,8 +85,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-unknown-warning-option
|
||||
CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-empty-body -Wno-parentheses -Wno-string-plus-int \
|
||||
-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
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -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=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -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=gnu17
|
||||
|
||||
# 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
@@ -44,11 +44,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||
-Wno-main-return-type -Wno-return-type -Wno-unused-parameter \
|
||||
-Wno-strict-prototypes -Wno-implicit-function-declaration \
|
||||
-Wno-main -Wno-maybe-uninitialized -Wno-misleading-indentation \
|
||||
-Wno-shift-negative-value -Wno-unknown-warning-option
|
||||
-Wno-shift-negative-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
|
||||
#
|
||||
@@ -56,9 +60,6 @@ CSTD= -std=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Variable to simplify changing memory usage
|
||||
@@ -98,7 +99,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-conditional-uninitialized \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-missing-noreturn -Wno-declaration-after-statement \
|
||||
-Wno-extra-semi-stmt -Wno-implicit-int-float-conversion \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-dangling-else -Wno-format-security \
|
||||
-Wno-unused-value -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
|
||||
#
|
||||
@@ -54,9 +58,6 @@ CSTD= -std=gnu17
|
||||
|
||||
# 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
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -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=gnu17
|
||||
|
||||
# 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
-6
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-strict-prototypes -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=gnu17
|
||||
|
||||
# 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 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-format-nonliter
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-declaration-after-statement \
|
||||
-Wno-incompatible-function-pointer-types-strict \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+7
-7
@@ -44,12 +44,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
-Wno-tautological-bitwise-compare -Wno-unused-label \
|
||||
-Wno-unused-variable -Wno-strict-prototypes \
|
||||
-Wno-builtin-declaration-mismatch -Wno-incompatible-pointer-types \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-unused-value \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-misleading-indentation -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
|
||||
#
|
||||
@@ -57,9 +60,6 @@ CSTD= -std=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -95,7 +95,7 @@ CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \
|
||||
-Wno-sign-conversion -Wno-declaration-after-statement \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-strict-prototypes -Wno-comment
|
||||
|
||||
# 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=gnu17
|
||||
|
||||
# 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
@@ -42,9 +42,13 @@ CSILENCE= -Wno-for-loop-analysis -Wno-missing-field-initializers \
|
||||
-Wno-strict-prototypes -Wno-misleading-indentation \
|
||||
-Wno-old-style-declaration -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=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
@@ -43,9 +43,13 @@ CSILENCE= -Wno-dollar-in-identifier-extension -Wno-empty-body \
|
||||
-Wno-unsequenced -Wno-misleading-indentation -Wno-pedantic \
|
||||
-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
|
||||
#
|
||||
@@ -54,9 +58,6 @@ CSTD= -std=gnu11
|
||||
|
||||
# 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
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-strict-prototypes -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=gnu17
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
|
||||
Reference in new issue
Block a user