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,11 +40,15 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \
|
||||
-Wno-strict-prototypes -Wno-builtin-declaration-mismatch \
|
||||
-Wno-misleading-indentation -Wno-parentheses -Wno-unknown-warning-option
|
||||
-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
|
||||
#
|
||||
@@ -52,9 +56,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
|
||||
@@ -89,8 +90,7 @@ CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-float-equal \
|
||||
-Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-shadow -Wno-sign-conversion -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-unused-macros -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-constant-conversion -Wno-implicit-int -Wno-string-plus-char \
|
||||
-Wno-unused-value -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
|
||||
#
|
||||
@@ -51,9 +55,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
|
||||
@@ -85,9 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \
|
||||
-Wno-poison-system-directorie -Wno-unknown-warning-option \
|
||||
-Wno-poison-system-directories -Wno-extra-semi-stmt \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
-Wno-poison-system-directorie -Wno-poison-system-directories \
|
||||
-Wno-extra-semi-stmt \Wno-misleading-indentation \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-dangling-else -Wno-strict-prototypes -Wno-cpp -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
|
||||
#
|
||||
@@ -50,9 +54,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
|
||||
|
||||
@@ -40,9 +40,13 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-absolute-value -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=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
|
||||
|
||||
@@ -39,12 +39,15 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-parentheses -Wno-empty-body -Wno-strict-prototypes \
|
||||
-Wno-format-overflow -Wno-int-in-bool-context -Wno-misleading-indentation \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-format-overflow -Wno-int-in-bool-context -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
|
||||
#
|
||||
@@ -52,9 +55,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
|
||||
@@ -88,8 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-float-conversion \
|
||||
-Wno-implicit-int-conversion -Wno-extra-semi-stmt \
|
||||
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
|
||||
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
-Wno-unsafe-buffer-usage -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-value \
|
||||
-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
|
||||
#
|
||||
@@ -51,9 +55,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
|
||||
|
||||
@@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-empty-body -Wno-format \
|
||||
-Wno-parentheses -Wno-implicit-function-declaration \
|
||||
-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
|
||||
#
|
||||
@@ -53,9 +57,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
@@ -45,9 +45,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-extra-args \
|
||||
-Wno-deprecated-non-prototype -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 ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -55,9 +59,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
@@ -42,9 +42,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion \
|
||||
-Wno-pointer-to-int-cast -Wno-deprecated-non-prototype
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -52,9 +56,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
@@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \
|
||||
-Wno-shift-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-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=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
|
||||
|
||||
@@ -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=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
|
||||
|
||||
+7
-7
@@ -43,11 +43,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch -Wno-error
|
||||
-Wno-int-conversion -Wno-main -Wno-return-type -Wno-unused-parameter \
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int \
|
||||
-Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \
|
||||
-Wno-parentheses -Wno-unused-value -Wno-unknown-warning-option
|
||||
-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
|
||||
#
|
||||
@@ -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
|
||||
@@ -91,8 +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-shorten-64-to-32 \
|
||||
-Wno-strict-prototypes -Wno-unknown-warning-option \
|
||||
-Wno-unsafe-buffer-usage
|
||||
-Wno-strict-prototypes -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
+5
-4
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-pointer-sign -Wno-parentheses \
|
||||
-Wno-sign-compare
|
||||
|
||||
# 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=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
|
||||
|
||||
@@ -45,9 +45,13 @@ CSILENCE= -Wno-constant-conversion -Wno-format-security \
|
||||
-Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-overflow \
|
||||
-Wno-pointer-to-int-cast -Wno-strict-aliasing
|
||||
|
||||
# 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=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
|
||||
|
||||
Reference in new issue
Block a user