diff --git a/1984/anonymous/Makefile b/1984/anonymous/Makefile index 8c6aca749..595c892ef 100644 --- a/1984/anonymous/Makefile +++ b/1984/anonymous/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-return-type -Wno-string-plus-int -Wno-unsequenced \ -Wno-deprecated-non-prototype -Wno-void-pointer-to-int-cast \ - -Wno-missing-parameter-type -Wno-pointer-to-int-cast \ - -Wno-unknown-warning-option + -Wno-missing-parameter-type -Wno-pointer-to-int-cast + +# 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=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-poison-system-directories -Wno-shadow -Wno-missing-prototypes \ -Wno-strict-prototypes -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-void-pointer-to-int-cast -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-void-pointer-to-int-cast -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1984/decot/Makefile b/1984/decot/Makefile index 80259c727..b9b736e65 100644 --- a/1984/decot/Makefile +++ b/1984/decot/Makefile @@ -45,9 +45,13 @@ CSILENCE= -Wno-array-bounds -Wno-error -Wno-implicit-function-declaration \ -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-label -Wno-implicit-int \ -Wno-cast-function-type -Wno-format-extra-args +# 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 diff --git a/1984/laman/Makefile b/1984/laman/Makefile index fa72e8ebf..753a59644 100644 --- a/1984/laman/Makefile +++ b/1984/laman/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-misleading-indentation \ - -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-sequence-point + +# 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=c11 # 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 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1984/mullender/Makefile b/1984/mullender/Makefile index 492c80f8d..e2dcd93b8 100644 --- a/1984/mullender/Makefile +++ b/1984/mullender/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-missing-parameter-type \ - -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 ${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 @@ -85,8 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-pedantic -Wno-sign-conversion -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-pedantic -Wno-sign-conversion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1985/applin/Makefile b/1985/applin/Makefile index 9311e3133..4ecfd9f57 100644 --- a/1985/applin/Makefile +++ b/1985/applin/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \ -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-parentheses -Wno-return-type \ - -Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-format -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 # @@ -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 @@ -86,8 +86,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option +CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1985/august/Makefile b/1985/august/Makefile index cbe6a8202..f315e7ccb 100644 --- a/1985/august/Makefile +++ b/1985/august/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main \ -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-non-prototype \ -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -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 ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -53,9 +57,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 @@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-padded -Wno-pedantic \ -Wno-poison-system-directories -Wno-strict-prototypes \ - -Wno-misleading-indentation -Wno-unknown-warning-option + -Wno-misleading-indentation # CWARN+= -Weverything # diff --git a/1985/lycklama/Makefile b/1985/lycklama/Makefile index fc7718207..a65879d8f 100644 --- a/1985/lycklama/Makefile +++ b/1985/lycklama/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-implicit-int -Wno-unused-value -Wno-parentheses -Wno-error \ -Wno-implicit-function-declaration -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 # @@ -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 diff --git a/1985/shapiro/Makefile b/1985/shapiro/Makefile index be15eae0a..a815e3df2 100644 --- a/1985/shapiro/Makefile +++ b/1985/shapiro/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes \ -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 # @@ -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 diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile index cb300a033..b4525e544 100644 --- a/1985/sicherman/Makefile +++ b/1985/sicherman/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-comment -Wno-deprecated-non-prototype -Wno-main -Wno-pedantic \ -Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter \ -Wno-implicit-int -Wno-implicit-function-declaration -Wno-unused-value \ -Wno-multichar -Wno-uninitialized -Wno-unused-but-set-parameter \ - -Wno-parentheses -Wno-int-conversion -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-parentheses -Wno-int-conversion -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 # @@ -55,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 @@ -90,8 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \ -Wno-unused-macros -Wno-missing-variable-declarations -Wno-shadow \ - -Wno-reserved-identifier -Wno-reserved-macro-identifier \ - -Wno-unknown-warning-option + -Wno-reserved-identifier -Wno-reserved-macro-identifier # CWARN+= -Weverything # diff --git a/1986/applin/Makefile b/1986/applin/Makefile index a1d14cea2..c181ce95b 100644 --- a/1986/applin/Makefile +++ b/1986/applin/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-strict-prototypes -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 @@ -85,7 +86,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option \ +CSILENCE+= -Wno-poison-system-directories \ -Wno-missing-variable-declarations # CWARN+= -Weverything diff --git a/1986/august/Makefile b/1986/august/Makefile index 2d6a20e8b..b5ce077c2 100644 --- a/1986/august/Makefile +++ b/1986/august/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-return-type -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 # @@ -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 diff --git a/1986/bright/Makefile b/1986/bright/Makefile index 8081317e0..7ef46a9c8 100644 --- a/1986/bright/Makefile +++ b/1986/bright/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-implicit-int -Wno-unknown-escape-sequence -Wno-unused-value \ -Wno-sign-compare -Wno-deprecated-non-prototype \ -Wno-builtin-declaration-mismatch -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 # @@ -55,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 @@ -89,7 +89,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \ - -Wno-missing-variable-declarations -Wno-pedantic -Wno-unknown-warning-option \ + -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-strict-prototypes -Wno-unreachable-code-return -Wno-unsafe-buffer-usage # diff --git a/1986/hague/Makefile b/1986/hague/Makefile index 441e1351e..9b57bc84d 100644 --- a/1986/hague/Makefile +++ b/1986/hague/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-library-redeclaration -Wno-return-type \ -Wno-deprecated-declarations -Wno-deprecated-non-prototype \ - -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=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 @@ -90,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-strict-prototypes \ -Wno-reserved-identifier -Wno-reserved-macro-identifier \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1986/holloway/Makefile b/1986/holloway/Makefile index 3f2a61e34..8d90979bf 100644 --- a/1986/holloway/Makefile +++ b/1986/holloway/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-format-security -Wno-implicit-int -Wno-int-to-pointer-cast \ -Wno-pointer-to-int-cast -Wno-deprecated-non-prototype \ -Wno-incompatible-pointer-types -Wno-implicit-fallthrough \ - -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 # @@ -54,9 +57,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 @@ -88,8 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-pedantic -Wno-unsafe-buffer-usage \ - -Wno-poison-system-directories -Wno-shadow -Wno-implicit-int-conversion \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-shadow -Wno-implicit-int-conversion # CWARN+= -Weverything # diff --git a/1986/marshall/Makefile b/1986/marshall/Makefile index 87e398584..4109d3ec5 100644 --- a/1986/marshall/Makefile +++ b/1986/marshall/Makefile @@ -44,11 +44,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-pointer-to-int-cast -Wno-return-type \ -Wno-strict-prototypes -Wno-uninitialized -Wno-unused-parameter \ -Wno-address -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unknown-warning-option -Wno-int-to-pointer-cast + -Wno-int-to-pointer-cast + +# 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=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 @@ -93,7 +94,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \ - -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1986/pawka/Makefile b/1986/pawka/Makefile index 38da913a3..9ca7770f6 100644 --- a/1986/pawka/Makefile +++ b/1986/pawka/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-non-literal-null-conversion -Wno-unused-value -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=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 diff --git a/1986/stein/Makefile b/1986/stein/Makefile index 6c43af0c0..0fbe95ae7 100644 --- a/1986/stein/Makefile +++ b/1986/stein/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-int-conversion -Wno-deprecated-non-prototype \ - -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 # @@ -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,8 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1986/wall/Makefile b/1986/wall/Makefile index 57efcdace..afa293c58 100644 --- a/1986/wall/Makefile +++ b/1986/wall/Makefile @@ -43,20 +43,21 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-strict-prototypes \ -Wno-string-plus-char -Wno-macro-redefined \ -Wno-builtin-declaration-mismatch -Wno-pedantic \ - -Wno-implicit-fallthrough -Wno-return-type -Wno-unknown-warning-option + -Wno-implicit-fallthrough -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 # CSTD= -std=gnu89 -# Compiler bit architecture -# -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 +# Compiler standard # ARCH= @@ -90,7 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypess \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-strict-prototypes -Wno-missing-prototypes -Wno-unknown-warning-option \ + -Wno-strict-prototypes -Wno-missing-prototypes \ -Wno-unused-macros -Wno-extra-semi-stmt -Wno-reserved-macro-identifier \ -Wno-unsafe-buffer-usage # diff --git a/1987/biggar/Makefile b/1987/biggar/Makefile index e75239c51..20296b9bb 100644 --- a/1987/biggar/Makefile +++ b/1987/biggar/Makefile @@ -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 diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile index 3fdcea89d..fd9dd5f21 100644 --- a/1987/heckbert/Makefile +++ b/1987/heckbert/Makefile @@ -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 # diff --git a/1987/hines/Makefile b/1987/hines/Makefile index a784ae41b..975dcaa5d 100644 --- a/1987/hines/Makefile +++ b/1987/hines/Makefile @@ -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 # diff --git a/1987/korn/Makefile b/1987/korn/Makefile index 90ae14036..91e27094c 100644 --- a/1987/korn/Makefile +++ b/1987/korn/Makefile @@ -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 diff --git a/1987/lievaart/Makefile b/1987/lievaart/Makefile index 7ca0f2239..f707dc132 100644 --- a/1987/lievaart/Makefile +++ b/1987/lievaart/Makefile @@ -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 diff --git a/1987/wall/Makefile b/1987/wall/Makefile index acba7a989..77ea2fba3 100644 --- a/1987/wall/Makefile +++ b/1987/wall/Makefile @@ -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+= # diff --git a/1987/westley/Makefile b/1987/westley/Makefile index 1ea3fc0e5..6984331df 100644 --- a/1987/westley/Makefile +++ b/1987/westley/Makefile @@ -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 # diff --git a/1988/applin/Makefile b/1988/applin/Makefile index e3602771f..3062ffba1 100644 --- a/1988/applin/Makefile +++ b/1988/applin/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes \ -Wno-gnu-line-marker -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 diff --git a/1988/dale/Makefile b/1988/dale/Makefile index 3f1d95460..6c4be5923 100644 --- a/1988/dale/Makefile +++ b/1988/dale/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-implicit-function-declaration -Wno-implicit-int -Wno-keyword-macro \ -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-value \ -Wno-deprecated-non-prototype -Wno-builtin-declaration-mismatch \ - -Wno-implicit-fallthrough -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-implicit-fallthrough -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=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,8 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic -Wno-shorten-64-to-32 \ - -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 # diff --git a/1988/isaak/Makefile b/1988/isaak/Makefile index 335084748..7c8feece2 100644 --- a/1988/isaak/Makefile +++ b/1988/isaak/Makefile @@ -43,12 +43,15 @@ CSILENCE= -Wno-comma -Wno-implicit-function-declaration -Wno-format-insufficient -Wno-missing-variable-declarations -Wno-poison-system-directories -Wno-return-type \ -Wno-shadow -Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-unreachable-code \ -Wno-unused-macros -Wno-int-conversion -Wno-macro-redefined -Wno-parentheses \ - -Wno-builtin-declaration-mismatch -Wno-format -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-format -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 # @@ -56,9 +59,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,8 +89,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-pedantic -Wno-misleading-indentation -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option +CSILENCE+= -Wno-pedantic -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1988/litmaath/Makefile b/1988/litmaath/Makefile index e70794b49..1c05dc0d7 100644 --- a/1988/litmaath/Makefile +++ b/1988/litmaath/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parenthe -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-parentheses -Wno-return-type \ -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 # @@ -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 diff --git a/1988/phillipps/Makefile b/1988/phillipps/Makefile index f8e53bbc8..6db2930b0 100644 --- a/1988/phillipps/Makefile +++ b/1988/phillipps/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-pedantic -Wno-logical-not-parentheses -Wno-implicit-function-decl -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-pointer-to-int-cast \ -Wno-pointer-integer-compare -Wno-compare-distinct-pointer-types \ -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-missing-parameter-type \ - -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 # @@ -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 @@ -88,7 +89,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma \ - -Wno-missing-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-missing-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1988/reddy/Makefile b/1988/reddy/Makefile index c44ffd767..bb06ba554 100644 --- a/1988/reddy/Makefile +++ b/1988/reddy/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-pedantic -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype \ - -Wno-implicit-int -Wno-missing-parameter-type -Wno-unknown-warning-option + -Wno-implicit-int -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 # @@ -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,8 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1988/robison/Makefile b/1988/robison/Makefile index 92db459df..0d81e050b 100644 --- a/1988/robison/Makefile +++ b/1988/robison/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \ -Wno-implicit-int -Wno-misleading-indentation -Wno-missing-parameter-type \ - -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 ${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,8 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1988/spinellis/Makefile b/1988/spinellis/Makefile index b47cfd89e..177580d16 100644 --- a/1988/spinellis/Makefile +++ b/1988/spinellis/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-everything +# Attempt to silence unknown warnings +# +CUNKNOWN= -Wno-unknown-warning-option + # Common C compiler warning flags # -CWARN= ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -50,9 +54,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 diff --git a/1988/westley/Makefile b/1988/westley/Makefile index f0b979117..7feb43641 100644 --- a/1988/westley/Makefile +++ b/1988/westley/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \ -Wno-strict-prototypes -Wno-implicit-int -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=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 diff --git a/1989/fubar/Makefile b/1989/fubar/Makefile index 9a71db48b..b74356376 100644 --- a/1989/fubar/Makefile +++ b/1989/fubar/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-implicit-function-declaration -Wno-incompatible-library-redeclaration -Wno-implicit-int \ -Wno-deprecated-non-prototype +# 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 diff --git a/1989/jar.1/Makefile b/1989/jar.1/Makefile index bf46e36cf..f34f9670e 100644 --- a/1989/jar.1/Makefile +++ b/1989/jar.1/Makefile @@ -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=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 diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile index 0164dae81..6f7628d41 100644 --- a/1989/jar.2/Makefile +++ b/1989/jar.2/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-implicit-function-declaration -Wno-missing-braces -Wno-parentheses \ -Wno-deprecated-non-prototype -Wno-pedantic -Wno-strict-prototypes \ -Wno-implicit-int -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-return-type -Wno-unknown-warning-option + -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 # @@ -53,9 +57,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 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-cast-align -Wno-comma -Wno-float-equal -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros \ - -Wno-sign-conversion -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-sign-conversion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1989/ovdluhe/Makefile b/1989/ovdluhe/Makefile index 60a8bf5b4..eedab105f 100644 --- a/1989/ovdluhe/Makefile +++ b/1989/ovdluhe/Makefile @@ -44,9 +44,13 @@ CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \ -Wno-extra-semi -Wno-non-literal-null-conversion -Wno-implicit-int \ -Wno-misleading-indentation -Wno-overflow -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 # @@ -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 diff --git a/1989/paul/Makefile b/1989/paul/Makefile index 43d803106..a2ddbf834 100644 --- a/1989/paul/Makefile +++ b/1989/paul/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-incompatible-library-redeclaration -Wno-int-to-pointer-cast \ -Wno-pointer-to-int-cast -Wno-return-type -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 ${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 @@ -89,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \ -Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32 \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1989/robison/Makefile b/1989/robison/Makefile index c0f9acee4..e7317fbd8 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra- -Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int \ -Wno-return-type -Wno-uninitialized -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=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 diff --git a/1989/roemer/Makefile b/1989/roemer/Makefile index 76e820051..7b8365b64 100644 --- a/1989/roemer/Makefile +++ b/1989/roemer/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes \ -Wno-implicit-int -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 diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile index feeef582f..4793875d9 100644 --- a/1989/tromp/Makefile +++ b/1989/tromp/Makefile @@ -40,14 +40,17 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-pointer-to-int-cast -Wno-no-return-type -Wno-empty-body \ -Wno-implicit-function-declaration -Wno-string-plus-int -Wno-return-type \ - -Wno-unknown-warning-option -Wno-deprecated-non-prototype \ - -Wno-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int \ - -Wno-format -Wno-misleading-indentation -Wno-missing-parameter-type \ - -Wno-unused-value + -Wno-deprecated-non-prototype -Wno-shorten-64-to-32 -Wno-int-conversion \ + -Wno-implicit-int -Wno-format -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 # @@ -55,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 diff --git a/1989/vanb/Makefile b/1989/vanb/Makefile index 0983d4a19..701327213 100644 --- a/1989/vanb/Makefile +++ b/1989/vanb/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-missing-parameter-type \ - -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 ${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 @@ -85,8 +86,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option +CSILENCE+= -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1989/westley/Makefile b/1989/westley/Makefile index 61e674ea4..69a04de4b 100644 --- a/1989/westley/Makefile +++ b/1989/westley/Makefile @@ -43,12 +43,15 @@ CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \ -Wno-int-conversion -Wno-return-type -Wno-parentheses \ -Wno-comma -Wno-missing-variable-declarations -Wno-unused-value \ -Wno-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast \ - -Wno-conditional-type-mismatch -Wno-non-literal-null-conversion \ - -Wno-unknown-warning-option + -Wno-conditional-type-mismatch -Wno-non-literal-null-conversion + +# 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 +59,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 diff --git a/1990/baruch/Makefile b/1990/baruch/Makefile index fdc18b881..8c5a54385 100644 --- a/1990/baruch/Makefile +++ b/1990/baruch/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \ -Wno-string-plus-int -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 # @@ -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 @@ -86,8 +87,8 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-missing-variable-declarations -Wno-format-nonliteral -Wno-poison-system-directories \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage +CSILENCE+= -Wno-missing-variable-declarations -Wno-format-nonliteral \ + -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/cmills/Makefile b/1990/cmills/Makefile index 03bb3c301..8dc3f35cc 100644 --- a/1990/cmills/Makefile +++ b/1990/cmills/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-deprecated-declarations -Wno-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \ -Wno-unused-value -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-missing-parameter-type -Wno-multistatement-macros \ - -Wno-unknown-warning-option + -Wno-missing-parameter-type -Wno-multistatement-macros + +# 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 +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 @@ -91,8 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ -Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \ - -Wno-shorten-64-to-32 -Wno-extra-semi-stmt -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-shorten-64-to-32 -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/dds/Makefile b/1990/dds/Makefile index 225c773d5..aa2d8820b 100644 --- a/1990/dds/Makefile +++ b/1990/dds/Makefile @@ -43,11 +43,15 @@ CSILENCE= -Wno-builtin-requires-header -Wno-char-subscripts \ -Wno-implicit-function-declaration -Wno-incompatible-library-redeclaration \ -Wno-parentheses -Wno-implicit-int -Wno-deprecated-non-prototype \ -Wno-return-type -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-unused-value -Wno-unknown-warning-option + -Wno-misleading-indentation -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 @@ -90,7 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ - -Wno-unreachable-code-return -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unreachable-code-return -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/dg/Makefile b/1990/dg/Makefile index 204f17b6e..72eeccc9a 100644 --- a/1990/dg/Makefile +++ b/1990/dg/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-invalid-pp-token -Wno-strict-prototypes -Wno-implicit-int \ - -Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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 # @@ -52,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 @@ -87,8 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-strict-prototypes \ -Wno-implicit-int-conversion -Wno-unused-macros \ - -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/jaw/Makefile b/1990/jaw/Makefile index a27b76cd2..343881cd2 100644 --- a/1990/jaw/Makefile +++ b/1990/jaw/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declarat -Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \ -Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-misleading-indentation -Wno-missing-parameter-type \ - -Wno-multistatement-macros -Wno-unused-value -Wno-unknown-warning-option + -Wno-multistatement-macros -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,7 +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-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/pjr/Makefile b/1990/pjr/Makefile index fd6f27b28..941d3a060 100644 --- a/1990/pjr/Makefile +++ b/1990/pjr/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-strict-prototypes -Wno-implicit-int -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 # @@ -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 diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile index 0dadb5de0..b10847db4 100644 --- a/1990/scjones/Makefile +++ b/1990/scjones/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \ -Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int \ -Wno-implicit-fallthrough -Wno-misleading-indentation \ - -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 -pedantic ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -54,9 +57,6 @@ CSTD= -std=gnu90 -ansi # 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 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-missing-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-missing-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/stig/Makefile b/1990/stig/Makefile index fee8497da..edf5b23a0 100644 --- a/1990/stig/Makefile +++ b/1990/stig/Makefile @@ -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 diff --git a/1990/tbr/Makefile b/1990/tbr/Makefile index c044fbc04..150d307d1 100644 --- a/1990/tbr/Makefile +++ b/1990/tbr/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-unused-value -Wno-deprecated-non-prototype -Wno-return-type -Wno-implicit-int \ -Wno-empty-body -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -Wno-parentheses -Wno-stringop-overflow -Wno-unknown-warning-option + -Wno-parentheses -Wno-stringop-overflow + +# 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 +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-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \ -Wno-unreachable-code -Wno-disabled-macro-expansion \ - -Wno-misleading-indentation -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1990/theorem/Makefile b/1990/theorem/Makefile index d6f77f451..febac174f 100644 --- a/1990/theorem/Makefile +++ b/1990/theorem/Makefile @@ -45,9 +45,13 @@ CSILENCE= -Wno-deprecated-declarations -Wno-empty-body -Wno-error -Wno-unused-va -Wno-deprecated-non-prototype -Wno-int-conversion -Wno-strict-prototypes \ -Wno-implicit-int +# 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 diff --git a/1990/westley/Makefile b/1990/westley/Makefile index 8f614dfd1..a68e15b29 100644 --- a/1990/westley/Makefile +++ b/1990/westley/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \ -Wno-uninitialized -Wno-implicit-int -Wno-switch-unreachable \ -Wno-builtin-declaration-mismatch -Wno-implicit-fallthrough \ - -Wno-int-in-bool-context -Wno-overflow -Wno-parentheses -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-int-in-bool-context -Wno-overflow -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 # @@ -55,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 @@ -91,8 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ -Wno-string-conversion -Wno-unreachable-code -Wno-unsafe-buffer-usage \ - -Wno-unreachable-code-loop-increment -Wno-misleading-indentation \ - -Wno-unknown-warning-option + -Wno-unreachable-code-loop-increment -Wno-misleading-indentation # CWARN+= -Weverything # diff --git a/1991/ant/Makefile b/1991/ant/Makefile index 0086450ec..162b91643 100644 --- a/1991/ant/Makefile +++ b/1991/ant/Makefile @@ -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 # diff --git a/1991/brnstnd/Makefile b/1991/brnstnd/Makefile index c11b8976c..05304aa81 100644 --- a/1991/brnstnd/Makefile +++ b/1991/brnstnd/Makefile @@ -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 # diff --git a/1991/buzzard/Makefile b/1991/buzzard/Makefile index f3ba2df1d..67e702407 100644 --- a/1991/buzzard/Makefile +++ b/1991/buzzard/Makefile @@ -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 # diff --git a/1991/cdupont/Makefile b/1991/cdupont/Makefile index 98830bd24..5a1fa947b 100644 --- a/1991/cdupont/Makefile +++ b/1991/cdupont/Makefile @@ -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 diff --git a/1991/davidguy/Makefile b/1991/davidguy/Makefile index 50254524a..110415fbb 100644 --- a/1991/davidguy/Makefile +++ b/1991/davidguy/Makefile @@ -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 # diff --git a/1991/dds/Makefile b/1991/dds/Makefile index 800c9ffdc..f2ea23bfe 100644 --- a/1991/dds/Makefile +++ b/1991/dds/Makefile @@ -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 # diff --git a/1991/fine/Makefile b/1991/fine/Makefile index abcd30d93..0c7b753e9 100644 --- a/1991/fine/Makefile +++ b/1991/fine/Makefile @@ -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+= # diff --git a/1991/rince/Makefile b/1991/rince/Makefile index 5d16e369d..5dbc99bee 100644 --- a/1991/rince/Makefile +++ b/1991/rince/Makefile @@ -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 # diff --git a/1991/westley/Makefile b/1991/westley/Makefile index 88dd8758e..f562f286f 100644 --- a/1991/westley/Makefile +++ b/1991/westley/Makefile @@ -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 # diff --git a/1992/adrian/Makefile b/1992/adrian/Makefile index c16d6c398..dbd4002cc 100644 --- a/1992/adrian/Makefile +++ b/1992/adrian/Makefile @@ -44,12 +44,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-comment -Wno-deprecated-declarations -Wno-return-type -Wno-uninitialized -Wno-unused-value -Wno-unused-variable \ -Wno-unused-but-set-variable -Wno-unsequenced -Wno-unused-parameter \ -Wno-empty-translation-unit -Wno-implicit-int \ - -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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 # @@ -57,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 @@ -95,7 +95,7 @@ CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-noreturn \ -Wno-poison-system-directories -Wno-shadow -Wno-unreachable-code \ -Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-empty-translation-unit -Wno-extra-semi-stmt -Wno-misleading-indentation \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/albert/Makefile b/1992/albert/Makefile index f7ae70db0..00063d525 100644 --- a/1992/albert/Makefile +++ b/1992/albert/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \ -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \ -Wno-parentheses-equality -Wno-return-type \ - -Wno-builtin-declaration-mismatch -Wno-clobbered -Wno-parentheses \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-clobbered -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 # @@ -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,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-comma \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/ant/Makefile b/1992/ant/Makefile index 125f22864..ac6d5ef9e 100644 --- a/1992/ant/Makefile +++ b/1992/ant/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unsequenced \ -Wno-deprecated-non-prototype -Wno-strict-prototypes \ - -Wno-maybe-uninitialized -Wno-unknown-warning-option + -Wno-maybe-uninitialized + +# 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 @@ -88,8 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-conditional-uninitialized -Wno-implicit-int-conversion \ -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-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-sign-conversion -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/buzzard.1/Makefile b/1992/buzzard.1/Makefile index bc74c589b..b5f5a4e5d 100644 --- a/1992/buzzard.1/Makefile +++ b/1992/buzzard.1/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -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 ${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,7 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-unused-macros -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unused-macros -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile index 66c59cc5e..2435e6d41 100644 --- a/1992/buzzard.2/Makefile +++ b/1992/buzzard.2/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-missing-parameter-type -Wno-unknown-warning-option + -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 # @@ -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-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/gson/Makefile b/1992/gson/Makefile index e6f96d564..a8d4c94a9 100644 --- a/1992/gson/Makefile +++ b/1992/gson/Makefile @@ -44,11 +44,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts \ -Wno-return-type -Wno-unused-parameter -Wno-unused-value \ -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-int-in-bool-context -Wno-misleading-indentation \ - -Wno-missing-parameter-type -Wno-unknown-warning-option + -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 # @@ -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 @@ -93,8 +94,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-shorten-64-to-32 -Wno-strict-prototypes -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-shorten-64-to-32 -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/imc/Makefile b/1992/imc/Makefile index a70e3a970..b89b9820a 100644 --- a/1992/imc/Makefile +++ b/1992/imc/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \ -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-unused-value \ - -Wno-builtin-declaration-mismatch -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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=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 +88,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-error -Wno-implicit-function-declaration -Wno-format \ -Wno-missing-variable-declarations -Wno-poison-system-directorie \ - -Wno-poison-system-directories -Wno-unknown-warning-option \ - -Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-poison-system-directories -Wno-float-conversion \ + -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-disabled-macro-expansion -Wno-implicit-int-float-conversion \ -Wno-unsafe-buffer-usage # diff --git a/1992/kivinen/Makefile b/1992/kivinen/Makefile index 503711960..ff28dc5f4 100644 --- a/1992/kivinen/Makefile +++ b/1992/kivinen/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declarat -Wno-logical-op-parentheses -Wno-main -Wno-variadic-macros \ -Wno-deprecated-non-prototype -Wno-unused-parameter \ -Wno-builtin-declaration-mismatch -Wno-maybe-uninitialized \ - -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 # @@ -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,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma \ -Wno-conditional-uninitialized -Wno-sign-conversion \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \ -Wno-disabled-macro-expansion # CWARN+= -Weverything diff --git a/1992/lush/Makefile b/1992/lush/Makefile index e652a4009..26179e6fd 100644 --- a/1992/lush/Makefile +++ b/1992/lush/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined \ -Wno-return-type -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=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 diff --git a/1992/marangon/Makefile b/1992/marangon/Makefile index b57b3ced2..414901787 100644 --- a/1992/marangon/Makefile +++ b/1992/marangon/Makefile @@ -46,12 +46,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-strict-prototypes -Wno-extra-semi-stmt \ -Wno-misleading-indentation -Wno-reserved-identifier \ -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unused-value -Wno-unsafe-buffer-usage \ - -Wno-implicit-int -Wno-unknown-warning-option + -Wno-unused-value -Wno-unsafe-buffer-usage -Wno-implicit-int + +# 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 # @@ -59,9 +62,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 @@ -95,7 +95,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-sequence-point -Wno-unused-value -Wno-unknown-warning-option + -Wno-sequence-point -Wno-unused-value # CWARN+= -Weverything # diff --git a/1992/nathan/Makefile b/1992/nathan/Makefile index ba1b1f90e..ea1d17b9c 100644 --- a/1992/nathan/Makefile +++ b/1992/nathan/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-deprecated-non-prototype +# 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 diff --git a/1992/vern/Makefile b/1992/vern/Makefile index e1e6d2beb..687128ec4 100644 --- a/1992/vern/Makefile +++ b/1992/vern/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-dangling-else -Wno-error \ -Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \ -Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \ -Wno-int-in-bool-context -Wno-missing-parameter-type -Wno-unused-value \ - -Wno-implicit-int -Wno-unknown-warning-option + -Wno-implicit-int + +# 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 @@ -90,7 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32 \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1992/westley/Makefile b/1992/westley/Makefile index ef3196f10..745efb88b 100644 --- a/1992/westley/Makefile +++ b/1992/westley/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-parentheses -Wno-pedantic -Wno-deprecated-non-prototype \ -Wno-int-conversion -Wno-implicit-int -Wno-comma -Wno-missing-prototypes \ - -Wno-return-type -Wno-misleading-indentation -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-return-type -Wno-misleading-indentation -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 @@ -88,7 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-int-conversion \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/ant/Makefile b/1993/ant/Makefile index 74678bc02..758e07fed 100644 --- a/1993/ant/Makefile +++ b/1993/ant/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-deprecated-non-prototype -Wno-strict-prototypes \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -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 +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 @@ -87,7 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/cmills/Makefile b/1993/cmills/Makefile index 2466184e7..fc220bb30 100644 --- a/1993/cmills/Makefile +++ b/1993/cmills/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int \ - -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 ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -52,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 @@ -88,7 +88,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-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/dgibson/Makefile b/1993/dgibson/Makefile index f5e36f18d..e8f717738 100644 --- a/1993/dgibson/Makefile +++ b/1993/dgibson/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-int-conversion -Wno-pointer-to-int-cast \ - -Wno-parentheses -Wno-stringop-overflow -Wno-unused-value \ - -Wno-unknown-warning-option + -Wno-parentheses -Wno-stringop-overflow -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 +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 @@ -86,7 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-unused-macros -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unused-macros -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/ejb/Makefile b/1993/ejb/Makefile index cbc40c0a3..9a38c163c 100644 --- a/1993/ejb/Makefile +++ b/1993/ejb/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-pointer-sign -Wno-builtin-declaration-mismatch -Wno-parentheses \ - -Wno-unknown-warning-option + -Wno-pointer-sign -Wno-builtin-declaration-mismatch -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 +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 @@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \ -Wno-poison-system-directories -Wno-sign-conversion \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/jonth/Makefile b/1993/jonth/Makefile index cb39f70af..47572823c 100644 --- a/1993/jonth/Makefile +++ b/1993/jonth/Makefile @@ -45,11 +45,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-return-type -Wno-strict-prototypes -Wno-unused-variable \ -Wno-implicit-int -Wno-builtin-declaration-mismatch \ -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 -pedantic ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -57,9 +61,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 @@ -95,7 +96,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-sign-conversion -Wno-strict-prototypes \ -Wno-implicit-int-conversion -Wno-shadow -Wno-shorten-64-to-32 \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/leo/Makefile b/1993/leo/Makefile index 500aacda8..e6da73697 100644 --- a/1993/leo/Makefile +++ b/1993/leo/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -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 # @@ -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 @@ -83,9 +84,8 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-implicit-int-conversion -Wno-unknown-warning-option \ - -Wno-comma -Wno-conditional-uninitialized -Wno-poison-system-directories \ - -Wno-shorten-64-to-32 -Wno-sign-conversion \ +CSILENCE+= -Wno-implicit-int-conversion -Wno-comma -Wno-conditional-uninitialized \ + -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything diff --git a/1993/lmfjyh/Makefile b/1993/lmfjyh/Makefile index 359722966..2f46fe84d 100644 --- a/1993/lmfjyh/Makefile +++ b/1993/lmfjyh/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-implicit-int -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 # @@ -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 @@ -145,7 +146,6 @@ ${PROG}: ${PROG}.c echo && \ echo " ./${ALT_TARGET}" @${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c - # alternative executable # diff --git a/1993/plummer/Makefile b/1993/plummer/Makefile index dbc504091..487b2be79 100644 --- a/1993/plummer/Makefile +++ b/1993/plummer/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-deprecated-non-prototype -Wno-implicit-int \ -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -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 ${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-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directories -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/rince/Makefile b/1993/rince/Makefile index e8922d2e3..789058565 100644 --- a/1993/rince/Makefile +++ b/1993/rince/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-c99-extensions -Wno-char-subscripts -Wno-dangling-else \ -Wno-incompatible-pointer-types -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=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 diff --git a/1993/schnitzi/Makefile b/1993/schnitzi/Makefile index 3e678c1db..7eaf7168e 100644 --- a/1993/schnitzi/Makefile +++ b/1993/schnitzi/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype \ -Wno-format-overflow -Wno-misleading-indentation -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 -pedantic ${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 @@ -88,8 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-poison-system-directories -Wno-strict-prototypes \ - -Wno-disabled-macro-expansion -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1993/vanb/Makefile b/1993/vanb/Makefile index 8846d4135..86c1d8edf 100644 --- a/1993/vanb/Makefile +++ b/1993/vanb/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-value -Wno-unused-parameter \ - -Wno-implicit-int -Wno-missing-parameter-type -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-implicit-int -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 # @@ -52,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 @@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-pedantic -Wno-poison-system-directories \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-shadow \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1994/dodsond1/Makefile b/1994/dodsond1/Makefile index 98103cf3b..f5cbdff35 100644 --- a/1994/dodsond1/Makefile +++ b/1994/dodsond1/Makefile @@ -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 # diff --git a/1994/dodsond2/Makefile b/1994/dodsond2/Makefile index 9e72235f3..7362cb4b0 100644 --- a/1994/dodsond2/Makefile +++ b/1994/dodsond2/Makefile @@ -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 # diff --git a/1994/horton/Makefile b/1994/horton/Makefile index 78ae8c5af..924d9203c 100644 --- a/1994/horton/Makefile +++ b/1994/horton/Makefile @@ -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 # diff --git a/1994/imc/Makefile b/1994/imc/Makefile index cff164cc4..bfff83279 100644 --- a/1994/imc/Makefile +++ b/1994/imc/Makefile @@ -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 diff --git a/1994/ldb/Makefile b/1994/ldb/Makefile index 9bd4e0ea5..80b1ea196 100644 --- a/1994/ldb/Makefile +++ b/1994/ldb/Makefile @@ -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 diff --git a/1994/schnitzi/Makefile b/1994/schnitzi/Makefile index b56ec4138..0657f0e9c 100644 --- a/1994/schnitzi/Makefile +++ b/1994/schnitzi/Makefile @@ -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 # diff --git a/1994/shapiro/Makefile b/1994/shapiro/Makefile index d261941b5..68d05cf0e 100644 --- a/1994/shapiro/Makefile +++ b/1994/shapiro/Makefile @@ -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 # diff --git a/1994/smr/Makefile b/1994/smr/Makefile index 676711032..9d2953a45 100644 --- a/1994/smr/Makefile +++ b/1994/smr/Makefile @@ -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 diff --git a/1994/tvr/Makefile b/1994/tvr/Makefile index fe0b3a723..5332177ba 100644 --- a/1994/tvr/Makefile +++ b/1994/tvr/Makefile @@ -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 # diff --git a/1994/weisberg/Makefile b/1994/weisberg/Makefile index c378d77e7..f46df5b11 100644 --- a/1994/weisberg/Makefile +++ b/1994/weisberg/Makefile @@ -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 # diff --git a/1994/westley/Makefile b/1994/westley/Makefile index 1d9c280d2..4842da31a 100644 --- a/1994/westley/Makefile +++ b/1994/westley/Makefile @@ -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 diff --git a/1995/cdua/Makefile b/1995/cdua/Makefile index 65b3554e7..df1dadde6 100644 --- a/1995/cdua/Makefile +++ b/1995/cdua/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \ -Wno-strict-prototypes -Wno-implicit-int -Wno-unused-parameter \ -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= # Variable to simplify reconfiguring sleep time for alternate code @@ -92,8 +93,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes \ -Wno-format-nonliteral -Wno-sign-conversion \ - -Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1995/dodsond1/Makefile b/1995/dodsond1/Makefile index c410ff281..3b17665ce 100644 --- a/1995/dodsond1/Makefile +++ b/1995/dodsond1/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -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 # @@ -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 diff --git a/1995/dodsond2/Makefile b/1995/dodsond2/Makefile index b4abf29a9..3f5b83ec6 100644 --- a/1995/dodsond2/Makefile +++ b/1995/dodsond2/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-shift-op-parentheses -Wno-strict-prototypes \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-parentheses -Wno-unknown-warning-option + -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 # @@ -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,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-error -Wno-implicit-function-declaration \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shift-op-parentheses -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-shift-op-parentheses -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1995/esde/Makefile b/1995/esde/Makefile index e7f580aae..dda4ef2a1 100644 --- a/1995/esde/Makefile +++ b/1995/esde/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \ -Wno-implicit-function-declaration -Wno-format-security \ -Wno-return-type -Wno-sign-compare -Wno-uninitialized -Wno-unsequenced \ -Wno-implicit-int -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point \ - -Wno-unknown-warning-option + -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 # @@ -55,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,7 +89,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-poison-system-directories \ - -Wno-sign-conversion -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-sign-conversion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1995/garry/Makefile b/1995/garry/Makefile index b01fd547e..5e661fb99 100644 --- a/1995/garry/Makefile +++ b/1995/garry/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type \ -Wno-strict-prototypes -Wno-array-bounds -Wno-misleading-indentation \ -Wno-pedantic -Wno-unused-variable -Wno-implicit-int \ - -Wno-stringop-overflow -Wno-unknown-warning-option + -Wno-stringop-overflow + +# 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-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage -Wno-strict-prototypes + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/1995/heathbar/Makefile b/1995/heathbar/Makefile index 8609ae505..d2150b3b1 100644 --- a/1995/heathbar/Makefile +++ b/1995/heathbar/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-misleading-indentation -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 # @@ -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 diff --git a/1995/leo/Makefile b/1995/leo/Makefile index 806feffd4..f57c570a1 100644 --- a/1995/leo/Makefile +++ b/1995/leo/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-main-return-type \ -Wno-sign-compare -Wno-main -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 # @@ -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 diff --git a/1995/makarios/Makefile b/1995/makarios/Makefile index fd739e1e0..e6dbd2251 100644 --- a/1995/makarios/Makefile +++ b/1995/makarios/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-int-conversion -Wno-implicit-int -Wno-return-type \ -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -Wno-deprecated-non-prototype -Wno-unknown-warning-option + -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 # @@ -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 @@ -86,8 +87,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes \ - -Wno-unknown-warning-option +CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/1995/savastio/Makefile b/1995/savastio/Makefile index 7666df14d..d717d19b4 100644 --- a/1995/savastio/Makefile +++ b/1995/savastio/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-format -Wno-incompatible-library-redeclaration \ -Wno-non-literal-null-conversion -Wno-deprecated-non-prototype \ -Wno-strict-prototypes -Wno-implicit-int -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-return-type -Wno-unknown-warning-option + -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 # @@ -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,7 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-format-nonliteral -Wno-poison-system-directories -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1995/schnitzi/Makefile b/1995/schnitzi/Makefile index 98e3bc690..a6d7c5f2e 100644 --- a/1995/schnitzi/Makefile +++ b/1995/schnitzi/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \ -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \ -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ - -Wno-parentheses -Wno-return-type -Wno-implicit-int \ - -Wno-unknown-warning-option + -Wno-parentheses -Wno-return-type -Wno-implicit-int + +# 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 @@ -88,7 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-pedantic -Wno-poison-system-directories \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1995/spinellis/Makefile b/1995/spinellis/Makefile index bc6c97b0d..8aa6ecce8 100644 --- a/1995/spinellis/Makefile +++ b/1995/spinellis/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -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 diff --git a/1995/vanschnitz/Makefile b/1995/vanschnitz/Makefile index 0c4530bda..b5f211c59 100644 --- a/1995/vanschnitz/Makefile +++ b/1995/vanschnitz/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-tokens \ -Wno-overlength-strings -Wno-strict-prototypes -Wno-implicit-int \ - -Wno-builtin-declaration-mismatch -Wno-endif-labels -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-endif-labels -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=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 @@ -86,7 +86,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option +CSILENCE+= -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/1996/august/Makefile b/1996/august/Makefile index 56f3219ea..056e0cf55 100644 --- a/1996/august/Makefile +++ b/1996/august/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-invalid-source-encoding -Wno-invalid-utf8 -Wno-strict-prototypes \ - -Wno-unknown-warning-option -Wno-empty-body -Wno-maybe-uninitialized + -Wno-empty-body -Wno-maybe-uninitialized + +# 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 diff --git a/1996/dalbec/Makefile b/1996/dalbec/Makefile index 84b4d885a..d3815628e 100644 --- a/1996/dalbec/Makefile +++ b/1996/dalbec/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-logical-not-parentheses -Wno-bool-operation +# 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 diff --git a/1996/eldby/Makefile b/1996/eldby/Makefile index 342d0db55..a7f413a8a 100644 --- a/1996/eldby/Makefile +++ b/1996/eldby/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-return-type -Wno-unsequenced -Wno-strict-prototypes \ -Wno-implicit-int -Wno-misleading-indentation -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 # @@ -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= # Variable to simplify reconfiguring sleep time for alternate code diff --git a/1996/gandalf/Makefile b/1996/gandalf/Makefile index 5fddd9921..d64e35002 100644 --- a/1996/gandalf/Makefile +++ b/1996/gandalf/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-keyword-macro \ -Wno-shift-op-parentheses -Wno-unused-parameter -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-unsequenced \ -Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \ - -Wno-sequence-point -Wno-unknown-warning-option + -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=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,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-strict-prototypes -Wno-unused-macros \ - -Wno-misleading-indentation -Wno-unknown-warning-option + -Wno-misleading-indentation # CWARN+= -Weverything # diff --git a/1996/huffman/Makefile b/1996/huffman/Makefile index 95a3a2ca1..f5e0034aa 100644 --- a/1996/huffman/Makefile +++ b/1996/huffman/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-strict-prototypes -Wno-deprecated-declarations -Wno-implicit-int \ -Wno-int-in-bool-context -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 # @@ -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 diff --git a/1996/jonth/Makefile b/1996/jonth/Makefile index 039ccfbb3..3f38c5d11 100644 --- a/1996/jonth/Makefile +++ b/1996/jonth/Makefile @@ -43,11 +43,15 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype \ -Wno-builtin-declaration-mismatch -Wno-missing-parameter-type \ -Wno-multistatement-macros -Wno-sequence-point -Wno-unused-value \ - -Wno-implicit-int -Wno-unknown-warning-option + -Wno-implicit-int + +# 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 @@ -92,7 +93,7 @@ CSILENCE+= -Wno-c99-extensions -Wno-double-promotion -Wno-float-conversion \ -Wno-implicit-float-conversion -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unknown-warning-option + -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/1996/rcm/Makefile b/1996/rcm/Makefile index 2e002c513..ea98972b7 100644 --- a/1996/rcm/Makefile +++ b/1996/rcm/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes \ -Wno-misleading-indentation -Wno-parentheses -Wno-return-type \ -Wno-unused-value -Wno-implicit-int +# 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 diff --git a/1996/schweikh1/Makefile b/1996/schweikh1/Makefile index 4e0fd1ceb..bd8f98844 100644 --- a/1996/schweikh1/Makefile +++ b/1996/schweikh1/Makefile @@ -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 diff --git a/1996/schweikh2/Makefile b/1996/schweikh2/Makefile index e438813d4..d173f2d0d 100644 --- a/1996/schweikh2/Makefile +++ b/1996/schweikh2/Makefile @@ -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 diff --git a/1996/schweikh3/Makefile b/1996/schweikh3/Makefile index c68c2b71a..6da6469ea 100644 --- a/1996/schweikh3/Makefile +++ b/1996/schweikh3/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-language-extension-token -Wno-switch-bool +# 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= -ansi # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/1996/westley/Makefile b/1996/westley/Makefile index dc18bd1c3..e142b02e9 100644 --- a/1996/westley/Makefile +++ b/1996/westley/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-int-to-pointer-cast -Wno-empty-body -Wno-deprecated-non-prototype\ - -Wno-implicit-int -Wno-missing-parameter-type -Wno-return-type \ - -Wno-unknown-warning-option + -Wno-implicit-int -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 # @@ -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 @@ -87,7 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-bad-function-cast -Wno-pedantic -Wno-poison-system-directories \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/banks/Makefile b/1998/banks/Makefile index 6725957e4..312612bf6 100644 --- a/1998/banks/Makefile +++ b/1998/banks/Makefile @@ -43,11 +43,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-bitwise-instead-of-logical -Wno-strict-prototypes \ -Wno-implicit-int -Wno-builtin-declaration-mismatch \ -Wno-misleading-indentation -Wno-parentheses -Wno-return-type \ - -Wno-sequence-point -Wno-unused-value -Wno-unknown-warning-option + -Wno-sequence-point -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= # Variables that control the control keys and time step @@ -103,8 +104,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-float-equal \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shadow -Wno-shorten-64-to-32 -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-shadow -Wno-shorten-64-to-32 -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/bas1/Makefile b/1998/bas1/Makefile index fe372c86c..5a8aa993a 100644 --- a/1998/bas1/Makefile +++ b/1998/bas1/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-empty-body -Wno-invalid-source-encoding -Wno-main -Wno-parentheses \ -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \ -Wno-implicit-int -Wno-misleading-indentation -Wno-missing-parameter-type \ - -Wno-return-type -Wno-unused-parameter -Wno-unknown-warning-option + -Wno-return-type -Wno-unused-parameter + +# 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,7 +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-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/bas2/Makefile b/1998/bas2/Makefile index 199c1c19b..fcf57a127 100644 --- a/1998/bas2/Makefile +++ b/1998/bas2/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-implicit-int \ - -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 # @@ -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 @@ -85,8 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/chaos/Makefile b/1998/chaos/Makefile index 7dd797d3b..8bba34fa1 100644 --- a/1998/chaos/Makefile +++ b/1998/chaos/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-c99-extensions -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 # @@ -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 diff --git a/1998/df/Makefile b/1998/df/Makefile index 08013c86d..55b3a4fcd 100644 --- a/1998/df/Makefile +++ b/1998/df/Makefile @@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts \ -Wno-cast-function-type -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=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 @@ -93,8 +94,7 @@ CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-implicit-int-conversion \ -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ -Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \ - -Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type \ - -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage -Wno-strict-prototypes -Wno-cast-function-type # CWARN+= -Weverything # diff --git a/1998/dlowe/Makefile b/1998/dlowe/Makefile index 700a5a2f7..98d8937d4 100644 --- a/1998/dlowe/Makefile +++ b/1998/dlowe/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-main-return-type -Wno-strict-prototypes \ -Wno-misleading-indentation -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 diff --git a/1998/dloweneil/Makefile b/1998/dloweneil/Makefile index 078fdff56..749c822fb 100644 --- a/1998/dloweneil/Makefile +++ b/1998/dloweneil/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-dangling-else -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=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 diff --git a/1998/dorssel/Makefile b/1998/dorssel/Makefile index b3e717313..ea0b80d0e 100644 --- a/1998/dorssel/Makefile +++ b/1998/dorssel/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-implicit-int \ -Wno-implicit-fallthrough -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 diff --git a/1998/fanf/Makefile b/1998/fanf/Makefile index 21da2f7ee..ac51f62ec 100644 --- a/1998/fanf/Makefile +++ b/1998/fanf/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main \ -Wno-implicit-function-declaration -Wno-address \ -Wno-builtin-declaration-mismatch -Wno-int-conversion \ - -Wno-gnu-line-marker -Wno-unknown-warning-option + -Wno-gnu-line-marker + +# 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,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-disabled-macro-expansion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-padded \ - -Wno-poison-system-directories -Wno-unused-macros \ - -Wno-unknown-warning-option + -Wno-poison-system-directories -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1998/schnitzi/Makefile b/1998/schnitzi/Makefile index ff23c6431..bc073036b 100644 --- a/1998/schnitzi/Makefile +++ b/1998/schnitzi/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \ -Wno-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \ -Wno-builtin-declaration-mismatch -Wno-parentheses -Wno-return-type \ - -Wno-logical-op-parentheses -Wno-unknown-warning-option + -Wno-logical-op-parentheses + +# 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 @@ -91,8 +92,7 @@ CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \ -Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ - -Wno-cast-align -Wno-unreachable-code + -Wno-unsafe-buffer-usage -Wno-cast-align -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/1998/schweikh1/Makefile b/1998/schweikh1/Makefile index 738812434..f1306a1eb 100644 --- a/1998/schweikh1/Makefile +++ b/1998/schweikh1/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-string-plus-int -Wno-switch-bool -Wno-array-bounds \ - -Wno-stringop-overread -Wno-unknown-warning-option + -Wno-stringop-overread + +# 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 @@ -85,7 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/schweikh2/Makefile b/1998/schweikh2/Makefile index 857e40f70..284758148 100644 --- a/1998/schweikh2/Makefile +++ b/1998/schweikh2/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-trigraphs -Wno-sign-compare -Wno-string-plus-int -Wno-switch-bool \ -Wno-implicit-int -Wno-cast-function-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 diff --git a/1998/schweikh3/Makefile b/1998/schweikh3/Makefile index ac88bbe21..67c849577 100644 --- a/1998/schweikh3/Makefile +++ b/1998/schweikh3/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-trigraphs -Wno-deprecated-non-prototype -Wno-unused-parameter \ - -Wno-misleading-indentation -Wno-missing-parameter-type \ - -Wno-unknown-warning-option + -Wno-misleading-indentation -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 # @@ -52,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 @@ -87,8 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-padded -Wno-poison-system-directories -Wno-shorten-64-to-32 \ - -Wno-sign-conversion -Wno-reserved-macro-identifier -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-sign-conversion -Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/1998/tomtorfs/Makefile b/1998/tomtorfs/Makefile index 426dfc527..1adf18ba1 100644 --- a/1998/tomtorfs/Makefile +++ b/1998/tomtorfs/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-misleading-indentation -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 # @@ -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 diff --git a/2000/anderson/Makefile b/2000/anderson/Makefile index 9ee785350..7ae7ea006 100644 --- a/2000/anderson/Makefile +++ b/2000/anderson/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-char-subscripts -Wno-deprecated-declarations -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-strict-prototypes \ -Wno-parentheses -Wno-sequence-point -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2000/bellard/Makefile b/2000/bellard/Makefile index 362491f79..81c6a121c 100644 --- a/2000/bellard/Makefile +++ b/2000/bellard/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-return-type -Wno-unsequenced -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-sequence-point + +# 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=gnu99 # 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 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2000/bmeyer/Makefile b/2000/bmeyer/Makefile index 383059731..682b2fa5b 100644 --- a/2000/bmeyer/Makefile +++ b/2000/bmeyer/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-format -Wno-parentheses -Wno-string-plus-int \ -Wno-strict-prototypes -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 +56,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2000/briddlebane/Makefile b/2000/briddlebane/Makefile index 4f2ba47a5..79ab7acac 100644 --- a/2000/briddlebane/Makefile +++ b/2000/briddlebane/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-absolute-value -Wno-implicit-int -Wno-deprecated-non-prototype \ -Wno-incompatible-pointer-types -Wno-misleading-indentation \ -Wno-parentheses -Wno-sequence-point -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # 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 +91,7 @@ CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-float-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ -Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \ - -Wno-strict-prototypes -Wno-unknown-warning-option + -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/2000/dhyang/Makefile b/2000/dhyang/Makefile index 4ec23e026..1756f308f 100644 --- a/2000/dhyang/Makefile +++ b/2000/dhyang/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-main-return-type -Wno-extra-semi \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-pedantic -Wno-strict-prototypes -Wno-unknown-warning-option + -Wno-pedantic -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-implicit-int-conversion -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 # diff --git a/2000/dlowe/Makefile b/2000/dlowe/Makefile index 41a027c26..9e7c065be 100644 --- a/2000/dlowe/Makefile +++ b/2000/dlowe/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-gnu-statement-expression -Wno-unused-parameter +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2000/jarijyrki/Makefile b/2000/jarijyrki/Makefile index 373644573..710c75764 100644 --- a/2000/jarijyrki/Makefile +++ b/2000/jarijyrki/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-builtin-declaration-mismatch -Wno-int-in-bool-context \ -Wno-misleading-indentation -Wno-unused-value \ - -Wno-deprecated-non-prototype -Wno-unknown-warning-option + -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 # @@ -54,9 +58,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile @@ -93,8 +94,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-float-conversion -Wno-float-equal -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-unknown-warning-option -Wno-unsafe-buffer-usage \ - -Wno-sign-conversion -Wno-strict-prototypes + -Wno-unsafe-buffer-usage -Wno-sign-conversion -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/2000/natori/Makefile b/2000/natori/Makefile index 7e74b5cce..256dae761 100644 --- a/2000/natori/Makefile +++ b/2000/natori/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-unused-parameter \ -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 # @@ -52,9 +56,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2000/primenum/Makefile b/2000/primenum/Makefile index 3e9f0fb90..5edcb64e9 100644 --- a/2000/primenum/Makefile +++ b/2000/primenum/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \ -Wno-unused-parameter -Wno-int-in-bool-context +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2000/rince/Makefile b/2000/rince/Makefile index 1588ad5db..5cfcac901 100644 --- a/2000/rince/Makefile +++ b/2000/rince/Makefile @@ -43,11 +43,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-unevaluated-expression -Wno-deprecated-non-prototype \ -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \ -Wno-maybe-uninitialized -Wno-misleading-indentation \ - -Wno-switch-unreachable -Wno-unknown-warning-option + -Wno-switch-unreachable + +# 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=gnu99 # 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,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ - -Wno-implicit-int-float-conversion -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage -Wno-unreachable-code + -Wno-implicit-int-float-conversion -Wno-unsafe-buffer-usage \ + -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/2000/robison/Makefile b/2000/robison/Makefile index 8351bbaac..88b354f28 100644 --- a/2000/robison/Makefile +++ b/2000/robison/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-format-security \ -Wno-parentheses -Wno-shift-negative-value -Wno-shift-op-parentheses \ - -Wno-strict-prototypes -Wno-maybe-uninitialized -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-maybe-uninitialized + +# 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=gnu99 # 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-comma -Wno-conditional-uninitialized -Wno-format-nonliteral \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ - -Wno-shadow -Wno-sign-conversion + -Wno-unsafe-buffer-usage -Wno-shadow -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2000/schneiderwent/Makefile b/2000/schneiderwent/Makefile index 2540063d8..9a1087a08 100644 --- a/2000/schneiderwent/Makefile +++ b/2000/schneiderwent/Makefile @@ -38,12 +38,15 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-trigraphs -Wno-aggressive-loop-optimizations -Wno-clobbered \ - -Wno-unknown-warning-option +CSILENCE= -Wno-trigraphs -Wno-aggressive-loop-optimizations -Wno-clobbered + +# 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 +54,6 @@ CSTD= -std=gnu99 # 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-shorten-64-to-32 -Wno-sign-conversion -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2000/thadgavin/Makefile b/2000/thadgavin/Makefile index c245f9e5c..1f8a02347 100644 --- a/2000/thadgavin/Makefile +++ b/2000/thadgavin/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \ -Wno-misleading-indentation -Wno-sequence-point \ -Wno-incompatible-pointer-types +# 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 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Variable to control amount of time to sleep between updates for alternate code. diff --git a/2000/tomx/Makefile b/2000/tomx/Makefile index a03899767..2c4aec77a 100644 --- a/2000/tomx/Makefile +++ b/2000/tomx/Makefile @@ -38,12 +38,15 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-comment -Wno-strict-prototypes -Wno-stringop-overflow \ - -Wno-unknown-warning-option +CSILENCE= -Wno-comment -Wno-strict-prototypes -Wno-stringop-overflow + +# 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 +54,6 @@ CSTD= -std=gnu99 # 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 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-conditional-uninitialized \ -Wno-implicit-int-conversion -Wno-missing-noreturn \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \ -Wno-missing-variable-declarations -Wno-shorten-64-to-32 # CWARN+= -Weverything diff --git a/2001/anonymous/Makefile b/2001/anonymous/Makefile index 65dc7d5c6..b60a60266 100644 --- a/2001/anonymous/Makefile +++ b/2001/anonymous/Makefile @@ -45,11 +45,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-bitwise-op-parentheses -Wno-format -Wno-format-extra-args \ -Wno-int-conversion -Wno-unused-parameter -Wno-unsequenced \ -Wno-deprecated-non-prototype -Wno-unused-value \ - -Wno-maybe-uninitialized -Wno-parentheses -Wno-unknown-warning-option + -Wno-maybe-uninitialized -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 # @@ -57,9 +61,6 @@ CSTD= -std=gnu99 # 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-comma -Wno-format-nonliteral \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ -Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2001/bellard/Makefile b/2001/bellard/Makefile index e678ae46b..d4096162f 100644 --- a/2001/bellard/Makefile +++ b/2001/bellard/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-int-to-pointer-cast -Wno-parentheses -Wno-return-type \ -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/cheong/Makefile b/2001/cheong/Makefile index e31c6b3ef..93165db1f 100644 --- a/2001/cheong/Makefile +++ b/2001/cheong/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/coupard/Makefile b/2001/coupard/Makefile index 02112117b..fd75c4728 100644 --- a/2001/coupard/Makefile +++ b/2001/coupard/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-pointer-sign -Wno-deprecated-non-prototype \ -Wno-implicit-int -Wno-misleading-indentation +# 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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/ctk/Makefile b/2001/ctk/Makefile index 533917c5c..7a89f447b 100644 --- a/2001/ctk/Makefile +++ b/2001/ctk/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-logical-op-parentheses \ -Wno-misleading-indentation -Wno-parentheses -Wno-unused-value \ -Wno-missing-braces +# 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=gnu99 # 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 +90,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \ -Wno-extra-semi-stmt -Wno-incompatible-function-pointer-types-strict \ - -Wno-unsafe-buffer-usage -Wno-unreachable-code -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/2001/dgbeards/Makefile b/2001/dgbeards/Makefile index ce3d0016a..4b8980efd 100644 --- a/2001/dgbeards/Makefile +++ b/2001/dgbeards/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-format-security -Wno-implicit-int -Wno-return-type \ -Wno-strict-prototypes -Wno-implicit-fallthrough -Wno-maybe-uninitialized \ - -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 -pedantic ${CSILENCE} +CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # 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 +91,7 @@ CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-format-nonliteral \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shadow -Wno-strict-prototypes -Wno-declaration-after-statement \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2001/herrmann1/Makefile b/2001/herrmann1/Makefile index 0821753ea..ff0297995 100644 --- a/2001/herrmann1/Makefile +++ b/2001/herrmann1/Makefile @@ -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/herrmann2/Makefile b/2001/herrmann2/Makefile index a507d357b..f44a19e19 100644 --- a/2001/herrmann2/Makefile +++ b/2001/herrmann2/Makefile @@ -43,11 +43,15 @@ CSILENCE= -Wno-implicit-int -Wno-incompatible-pointer-types \ -Wno-tautological-compare -Wno-unused-comparison -Wno-unused-value \ -Wno-int-in-bool-context -Wno-pointer-bool-conversion -Wno-unsequenced \ -Wno-deprecated-non-prototype -Wno-address -Wno-bool-compare \ - -Wno-sequence-point -Wno-unknown-warning-option + -Wno-sequence-point + +# 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=gnu99 # 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-extra-semi -Wno-missing-variable-declarations \ -Wno-pedantic -Wno-pointer-arith -Wno-poison-system-directories \ -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-unreachable-code -Wno-unreachable-code-return \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2001/jason/Makefile b/2001/jason/Makefile index 844eae1c9..ea3919977 100644 --- a/2001/jason/Makefile +++ b/2001/jason/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-char-subscripts -Wno-extra-semi -Wno-string-plus-int \ -Wno-unused-parameter -Wno-deprecated-non-prototype \ -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/kev/Makefile b/2001/kev/Makefile index b88493fbf..d8b7380f1 100644 --- a/2001/kev/Makefile +++ b/2001/kev/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-pointer-types -Wno-non-literal-null-conversion \ -Wno-address -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ -Wno-sequence-point -Wno-parentheses -Wno-pointer-bool-conversion \ - -Wno-unsequenced -Wno-unknown-warning-option + -Wno-unsequenced + +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Variables that control the port, speed and socket(2) call @@ -96,7 +97,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-float-conversion -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-implicit-int-float-conversion -Wno-reserved-identifier \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ + -Wno-unsafe-buffer-usage \ -Wno-shorten-64-to-32 -Wno-sign-conversion # CWARN+= -Weverything diff --git a/2001/ollinger/Makefile b/2001/ollinger/Makefile index 5727f03b2..83743c54d 100644 --- a/2001/ollinger/Makefile +++ b/2001/ollinger/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-sign-conversion \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2001/rosten/Makefile b/2001/rosten/Makefile index b852e49cc..902a590fb 100644 --- a/2001/rosten/Makefile +++ b/2001/rosten/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-logical-op-parentheses -Wno-parentheses -Wno-unused-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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/schweikh/Makefile b/2001/schweikh/Makefile index 7cf9f9997..bab810dfc 100644 --- a/2001/schweikh/Makefile +++ b/2001/schweikh/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-logical-op-parentheses -Wno-unused-parameter -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2001/westley/Makefile b/2001/westley/Makefile index 5d4336f98..7ecde1f8f 100644 --- a/2001/westley/Makefile +++ b/2001/westley/Makefile @@ -42,12 +42,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-main -Wno-return-type -Wno-trigraphs \ -Wno-unused-parameter -Wno-incompatible-pointer-types \ -Wno-deprecated-declarations -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-restrict \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-restrict + +# 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 +58,6 @@ CSTD= -std=gnu99 # 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,7 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-disabled-macro-expansion -Wno-extra-semi -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2001/williams/Makefile b/2001/williams/Makefile index 8cca5800a..e5c700e05 100644 --- a/2001/williams/Makefile +++ b/2001/williams/Makefile @@ -43,12 +43,15 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-missing-field-initializers -Wno-return-type \ -Wno-shift-op-parentheses -Wno-builtin-declaration-mismatch \ -Wno-misleading-indentation -Wno-parentheses -Wno-sequence-point \ - -Wno-unused-value -Wno-unsequenced -Wno-strict-prototypes \ - -Wno-unknown-warning-option + -Wno-unused-value -Wno-unsequenced -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 # @@ -56,9 +59,6 @@ CSTD= -std=gnu99 # 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,8 +92,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \ -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-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-sign-conversion -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2004/anonymous/Makefile b/2004/anonymous/Makefile index c917ac4d1..281e259fb 100644 --- a/2004/anonymous/Makefile +++ b/2004/anonymous/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-c99-extensions -Wno-conditional-type-mismatch -Wno-implicit-int \ -Wno-logical-op-parentheses -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/arachnid/Makefile b/2004/arachnid/Makefile index 683470fed..4c3104d13 100644 --- a/2004/arachnid/Makefile +++ b/2004/arachnid/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-char-subscripts -Wno-extra-semi -Wno-implicit-int \ -Wno-return-type -Wno-unused-parameter -Wno-unused-value \ -Wno-misleading-indentation -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 # @@ -52,9 +56,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/burley/Makefile b/2004/burley/Makefile index 84ec2d584..4ad292e67 100644 --- a/2004/burley/Makefile +++ b/2004/burley/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \ -Wno-implicit-function-declaration -Wno-int-to-pointer-cast \ -Wno-unused-value -Wno-unused-parameter +# 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=gnu99 # 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,10 +88,9 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-missing-variable-declarations \ - -Wno-shift-sign-overflow -Wno-unknown-warning-option \ - -Wno-poison-system-directories -Wno-cast-align -Wno-missing-prototypes \ - -Wno-shorten-64-to-32 -Wno-unreachable-code -Wno-unreachable-code-return \ - -Wno-unsafe-buffer-usage + -Wno-shift-sign-overflow -Wno-poison-system-directories -Wno-cast-align \ + -Wno-missing-prototypes -Wno-shorten-64-to-32 -Wno-unreachable-code \ + -Wno-unreachable-code-return -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2004/gavare/Makefile b/2004/gavare/Makefile index fb95e8996..f6d2ed4d3 100644 --- a/2004/gavare/Makefile +++ b/2004/gavare/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-return-type -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch + +# 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=gnu99 # 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 @@ 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-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2004/gavin/Makefile b/2004/gavin/Makefile index b09671992..5356a6b8b 100644 --- a/2004/gavin/Makefile +++ b/2004/gavin/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-int-to-pointer-cast -Wno-parentheses -Wno-pointer-to-int-cast \ -Wno-return-type -Wno-unused-parameter -Wno-unused-variable +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/hibachi/Makefile b/2004/hibachi/Makefile index 9ba1e1ffb..aae938c8d 100644 --- a/2004/hibachi/Makefile +++ b/2004/hibachi/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-pointer-sign -Wno-unused-parameter \ - -Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow \ - -Wno-unknown-warning-option + -Wno-format-truncation -Wno-sign-compare -Wno-stringop-overflow + +# 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=gnu99 # 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 +87,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-disabled-macro-expansion -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage -Wno-shorten-64-to-32 \ + -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2004/hoyle/Makefile b/2004/hoyle/Makefile index c45a2805d..e583c3a70 100644 --- a/2004/hoyle/Makefile +++ b/2004/hoyle/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-absolute-value -Wno-keyword-macro -Wno-newline-eof \ -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/jdalbec/Makefile b/2004/jdalbec/Makefile index a5cf0c36d..cd3963453 100644 --- a/2004/jdalbec/Makefile +++ b/2004/jdalbec/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-int-to-pointer-cast -Wno-int-to-void-pointer-cast \ -Wno-trigraphs -Wno-unused-value -Wno-gnu-line-marker +# 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= -ansi # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/kopczynski/Makefile b/2004/kopczynski/Makefile index 54cc18d57..0c46143c6 100644 --- a/2004/kopczynski/Makefile +++ b/2004/kopczynski/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-main -Wno-parentheses -Wno-deprecated-non-prototype \ - -Wno-unused-parameter -Wno-builtin-declaration-mismatch \ - -Wno-unknown-warning-option + -Wno-unused-parameter -Wno-builtin-declaration-mismatch + +# 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=gnu99 # 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 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-conditional-uninitialized -Wno-pedantic -Wno-poison-system-directories \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2004/newbern/Makefile b/2004/newbern/Makefile index 92e015122..7df27dedc 100644 --- a/2004/newbern/Makefile +++ b/2004/newbern/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types \ -Wno-aggressive-loop-optimizations -Wno-array-bounds \ -Wno-implicit-fallthrough -Wno-maybe-uninitialized \ -Wno-misleading-indentation -Wno-unused-value \ - -Wno-strict-prototypes -Wno-stringop-overflow -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-stringop-overflow + +# 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=gnu99 # 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 +91,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-sign-conversion -Wno-strict-prototypes -Wno-conditional-uninitialized \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2004/omoikane/Makefile b/2004/omoikane/Makefile index 9268676d0..7d730cef3 100644 --- a/2004/omoikane/Makefile +++ b/2004/omoikane/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-unused-value \ -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/schnitzi/Makefile b/2004/schnitzi/Makefile index bf1abb622..4a0edaa6c 100644 --- a/2004/schnitzi/Makefile +++ b/2004/schnitzi/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-deprecated-declarations -Wno-error \ -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch \ -Wno-stringop-truncation -Wno-unused-value -Wno-format-extra-args \ - -Wno-strict-prototypes -Wno-unknown-warning-option + -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # 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,8 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \ - -Wno-implicit-int-float-conversion -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage -Wno-poison-system-directories + -Wno-implicit-int-float-conversion -Wno-unsafe-buffer-usage \ + -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/2004/sds/Makefile b/2004/sds/Makefile index fc5211d66..14b7b56d4 100644 --- a/2004/sds/Makefile +++ b/2004/sds/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-unsequenced -Wno-unused-value -Wno-strict-prototypes \ -Wno-unused-parameter -Wno-implicit-int -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/vik1/Makefile b/2004/vik1/Makefile index abd97d79f..3cefbe7b0 100644 --- a/2004/vik1/Makefile +++ b/2004/vik1/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-format-extra-args \ -Wno-int-in-bool-context -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2004/vik2/Makefile b/2004/vik2/Makefile index 38b6aeb9d..8ed4046d0 100644 --- a/2004/vik2/Makefile +++ b/2004/vik2/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-strict-prototypes -Wno-implicit-function-declaration \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # 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,7 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros \ - -Wno-reserved-macro-identifier -Wno-unknown-warning-option + -Wno-reserved-macro-identifier # CWARN+= -Weverything # diff --git a/2005/aidan/Makefile b/2005/aidan/Makefile index 59391c4dd..b8d0734b8 100644 --- a/2005/aidan/Makefile +++ b/2005/aidan/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-backslash-newline-escape \ -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/anon/Makefile b/2005/anon/Makefile index 93c06283a..d21561127 100644 --- a/2005/anon/Makefile +++ b/2005/anon/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-keyword-macro -Wno-logical-op-parentheses \ - -Wno-shift-op-parentheses -Wno-format-truncation -Wno-parentheses \ - -Wno-unknown-warning-option + -Wno-shift-op-parentheses -Wno-format-truncation -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 +55,6 @@ CSTD= -std=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-cast-align -Wno-disabled-macro-expansion \ -Wno-poison-system-directories -Wno-shorten-64-to-32 \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2005/boutines/Makefile b/2005/boutines/Makefile index 490190418..15978f25e 100644 --- a/2005/boutines/Makefile +++ b/2005/boutines/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-strict-prototypes -Wno-misleading-indentation -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 # @@ -50,9 +54,6 @@ CSTD= -std=gnu99 # 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 +88,7 @@ CSILENCE+= -Wno-cast-qual -Wno-comma -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ -Wno-sign-conversions -Wno-implicit-int-float-conversion \ - -Wno-unsafe-buffer-usage -Wno-sign-conversion -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2005/chia/Makefile b/2005/chia/Makefile index 501148aa1..861b63f60 100644 --- a/2005/chia/Makefile +++ b/2005/chia/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-keyword-macro -Wno-pedantic -Wno-return-type \ -Wno-unused-variable -Wno-deprecated-non-prototype -Wno-unused-value \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # 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-disabled-macro-expansion -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 # diff --git a/2005/giljade/Makefile b/2005/giljade/Makefile index 35dd1600f..68446291d 100644 --- a/2005/giljade/Makefile +++ b/2005/giljade/Makefile @@ -46,9 +46,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-parentheses -Wno-misleading-indentation -Wno-strict-prototypes \ -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 # @@ -56,9 +60,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/jetro/Makefile b/2005/jetro/Makefile index 633678664..03bd58e3e 100644 --- a/2005/jetro/Makefile +++ b/2005/jetro/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-self-assign -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 # @@ -50,9 +54,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/klausler/Makefile b/2005/klausler/Makefile index 33df414b8..68217bb20 100644 --- a/2005/klausler/Makefile +++ b/2005/klausler/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-dangling-else -Wno-error -Wno-implicit-function-declaration \ -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -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 +56,6 @@ CSTD= -std=gnu99 # 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 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -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 # diff --git a/2005/mikeash/Makefile b/2005/mikeash/Makefile index ca21d69e4..9683c8ddf 100644 --- a/2005/mikeash/Makefile +++ b/2005/mikeash/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-unknown-escape-sequence -Wno-unused-variable -Wno-pedantic \ - -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 # @@ -53,9 +56,6 @@ CSTD= -std=gnu99 # 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-format-nonliteral -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shorten-64-to-32 -Wno-declaration-after-statement \ - -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2005/mynx/Makefile b/2005/mynx/Makefile index 310e6c66f..a063680df 100644 --- a/2005/mynx/Makefile +++ b/2005/mynx/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ - -Wno-unused-parameter -Wno-restrict -Wno-unknown-warning-option + -Wno-unused-parameter -Wno-restrict + +# 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=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2005/persano/Makefile b/2005/persano/Makefile index a3510d614..62307fbb0 100644 --- a/2005/persano/Makefile +++ b/2005/persano/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-shift-op-parentheses -Wno-unused-parameter -Wno-unused-value \ - -Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-parentheses \ - -Wno-unknown-warning-option + -Wno-maybe-uninitialized -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 +55,6 @@ CSTD= -std=gnu99 # 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 @@ CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-float-conversion \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2005/sykes/Makefile b/2005/sykes/Makefile index 213f80c05..fa262dac4 100644 --- a/2005/sykes/Makefile +++ b/2005/sykes/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-empty-body -Wno-error \ -Wno-pointer-sign -Wno-return-type -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/timwi/Makefile b/2005/timwi/Makefile index 3ac74d279..a5502a9d2 100644 --- a/2005/timwi/Makefile +++ b/2005/timwi/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-incompatible-pointer-types \ -Wno-int-in-bool-context -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/toledo/Makefile b/2005/toledo/Makefile index ebc18efe1..68672bf2a 100644 --- a/2005/toledo/Makefile +++ b/2005/toledo/Makefile @@ -41,11 +41,15 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-parentheses -Wno-int-conversion \ -Wno-unsequenced -Wno-return-type -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=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-float-conversion -Wno-format-nonliteral -Wno-implicit-int-conversion \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-missing-prototypes -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-missing-prototypes -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2005/vik/Makefile b/2005/vik/Makefile index cfd074768..f184afb43 100644 --- a/2005/vik/Makefile +++ b/2005/vik/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-pointer-sign -Wno-unsequenced -Wno-int-in-bool-context \ -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2005/vince/Makefile b/2005/vince/Makefile index d491576ae..4a08f9156 100644 --- a/2005/vince/Makefile +++ b/2005/vince/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-pointer-sign -Wno-unused-parameter -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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/birken/Makefile b/2006/birken/Makefile index 902302867..8c65a593d 100644 --- a/2006/birken/Makefile +++ b/2006/birken/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-deprecated-declarations -Wno-strict-prototypes -Wno-address \ - -Wno-maybe-uninitialized -Wno-unknown-warning-option + -Wno-maybe-uninitialized + +# 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=gnu99 # 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 @@ CSILENCE+= -Wno-conditional-uninitialized -Wno-format-nonliteral \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-padded \ -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2006/borsanyi/Makefile b/2006/borsanyi/Makefile index 35dae2cf2..962f0accd 100644 --- a/2006/borsanyi/Makefile +++ b/2006/borsanyi/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-unused-parameter +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/grothe/Makefile b/2006/grothe/Makefile index e4f6e718b..61526de3b 100644 --- a/2006/grothe/Makefile +++ b/2006/grothe/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/hamre/Makefile b/2006/hamre/Makefile index 7a0eb5f62..7a2af05f5 100644 --- a/2006/hamre/Makefile +++ b/2006/hamre/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-parentheses -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-unused-value \ - -Wno-unknown-warning-option + -Wno-misleading-indentation -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 # @@ -53,9 +56,6 @@ CSTD= -std=gnu99 # 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 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-poison-system-directories \ - -Wno-misleading-indentation -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2006/meyer/Makefile b/2006/meyer/Makefile index efe8e1f33..f5be54ed7 100644 --- a/2006/meyer/Makefile +++ b/2006/meyer/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-format -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=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-sign-conversion \ -Wno-strict-prototypes -Wno-cast-function-type-strict \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2006/monge/Makefile b/2006/monge/Makefile index 012c1f6db..2a4bfa315 100644 --- a/2006/monge/Makefile +++ b/2006/monge/Makefile @@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch \ -Wno-return-type -Wno-strict-prototypes -Wno-implicit-int \ -Wno-misleading-indentation -Wno-pedantic -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 diff --git a/2006/night/Makefile b/2006/night/Makefile index 9f7fe5bab..0e339f705 100644 --- a/2006/night/Makefile +++ b/2006/night/Makefile @@ -44,9 +44,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined \ -Wno-unused-value -Wno-unused-variable -Wno-sequence-point \ -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 # @@ -54,9 +58,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/sloane/Makefile b/2006/sloane/Makefile index 431cfabe7..8f7fb3bac 100644 --- a/2006/sloane/Makefile +++ b/2006/sloane/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-deprecated-non-prototype -Wno-main -Wno-unused-parameter \ -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/stewart/Makefile b/2006/stewart/Makefile index f6803c9a2..5acf8a915 100644 --- a/2006/stewart/Makefile +++ b/2006/stewart/Makefile @@ -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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/sykes1/Makefile b/2006/sykes1/Makefile index 67a51e029..733855372 100644 --- a/2006/sykes1/Makefile +++ b/2006/sykes1/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-shift-op-parentheses \ -Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-parentheses \ - -Wno-stringop-truncation -Wno-unknown-warning-option + -Wno-stringop-truncation + +# 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=gnu99 # 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 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-sign-conversion \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2006/sykes2/Makefile b/2006/sykes2/Makefile index 5b650b323..dad9a16ac 100644 --- a/2006/sykes2/Makefile +++ b/2006/sykes2/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \ -Wno-pedantic -Wno-deprecated-non-prototype -Wno-unused-parameter \ -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/toledo1/Makefile b/2006/toledo1/Makefile index f3b9fa673..23becb92c 100644 --- a/2006/toledo1/Makefile +++ b/2006/toledo1/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \ -Wno-int-conversion -Wno-pedantic -Wno-deprecated-non-prototype \ -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 # @@ -53,9 +57,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/toledo2/Makefile b/2006/toledo2/Makefile index f388781ac..a18dfb81e 100644 --- a/2006/toledo2/Makefile +++ b/2006/toledo2/Makefile @@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-int-conversion -Wno-pointer-type-mismatch -Wno-unsequenced \ -Wno-deprecated-non-prototype -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 # @@ -54,9 +58,6 @@ CSTD= -std=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2006/toledo3/Makefile b/2006/toledo3/Makefile index 40d8b4436..b4612242d 100644 --- a/2006/toledo3/Makefile +++ b/2006/toledo3/Makefile @@ -45,9 +45,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-shift-op-parentheses -Wno-main -Wno-deprecated-non-prototype \ -Wno-misleading-indentation +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2011/akari/Makefile b/2011/akari/Makefile index 91df1a0cc..fe8dfeaa0 100644 --- a/2011/akari/Makefile +++ b/2011/akari/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-return-type -Wno-unused-parameter \ -Wno-deprecated-non-prototype -Wno-misleading-indentation +# 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=gnu99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2011/blakely/Makefile b/2011/blakely/Makefile index a907211c7..fb44e93a7 100644 --- a/2011/blakely/Makefile +++ b/2011/blakely/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-logical-op-parentheses -Wno-unused-parameter \ -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 diff --git a/2011/borsanyi/Makefile b/2011/borsanyi/Makefile index 0ae8ba44a..215af7916 100644 --- a/2011/borsanyi/Makefile +++ b/2011/borsanyi/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-implicit-int -Wno-main -Wno-deprecated-non-prototype \ -Wno-parentheses +# 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 +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 diff --git a/2011/dlowe/Makefile b/2011/dlowe/Makefile index d0e614f98..84f7e477e 100644 --- a/2011/dlowe/Makefile +++ b/2011/dlowe/Makefile @@ -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=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 diff --git a/2011/eastman/Makefile b/2011/eastman/Makefile index c1de9012f..38b81cb1a 100644 --- a/2011/eastman/Makefile +++ b/2011/eastman/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-implicit-int -Wno-unsequenced -Wno-strict-prototypes \ -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 # @@ -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 diff --git a/2011/fredriksson/Makefile b/2011/fredriksson/Makefile index ce278fa3e..994a41791 100644 --- a/2011/fredriksson/Makefile +++ b/2011/fredriksson/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-bool-operation -Wno-char-subscripts -Wno-format-security \ -Wno-logical-op-parentheses -Wno-format-overflow -Wno-parentheses \ - -Wno-restrict -Wno-unused-value -Wno-unknown-warning-option + -Wno-restrict -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=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 @@ -87,7 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-string-conversion -Wno-unreachable-code \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2011/goren/Makefile b/2011/goren/Makefile index 3afac59bf..2c0825b61 100644 --- a/2011/goren/Makefile +++ b/2011/goren/Makefile @@ -43,12 +43,15 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \ -Wno-int-to-pointer-cast -Wno-pedantic -Wno-pointer-sign \ -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-but-set-parameter \ -Wno-unused-value -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-parentheses \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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 # @@ -56,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 @@ -92,8 +92,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-comma -Wno-format-nonliteral \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-strict-prototypes -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2011/hamaji/Makefile b/2011/hamaji/Makefile index cb2294e34..189e1e143 100644 --- a/2011/hamaji/Makefile +++ b/2011/hamaji/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-parentheses -Wno-shift-op-parentheses \ -Wno-unused-value -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 # @@ -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 diff --git a/2011/hou/Makefile b/2011/hou/Makefile index 10b055b3d..7c7c9614b 100644 --- a/2011/hou/Makefile +++ b/2011/hou/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-bool-operation -Wno-keyword-macro -Wno-literal-conversion \ -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 diff --git a/2011/konno/Makefile b/2011/konno/Makefile index afd667cb7..41e545d92 100644 --- a/2011/konno/Makefile +++ b/2011/konno/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-parentheses \ -Wno-pedantic -Wno-unsequenced -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-sequence-point -Wno-unused-value \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -Wno-sequence-point -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 # @@ -54,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 @@ -87,8 +87,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage +CSILENCE+= -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2011/richards/Makefile b/2011/richards/Makefile index 539282e22..45017ef45 100644 --- a/2011/richards/Makefile +++ b/2011/richards/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-incompatible-pointer-types -Wno-implicit-fallthrough +# 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 # @@ -51,9 +55,6 @@ CSTD= -std=gnu99 # 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 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-pedantic -Wno-poison-system-directories -Wno-shadow \ -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ - -Wno-undef -Wno-alloca -Wno-cast-function-type-strict -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-undef -Wno-alloca -Wno-cast-function-type-strict -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2011/toledo/Makefile b/2011/toledo/Makefile index afe82cbff..fccfed141 100644 --- a/2011/toledo/Makefile +++ b/2011/toledo/Makefile @@ -43,12 +43,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \ -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-parentheses \ -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced \ -Wno-deprecated-non-prototype -Wno-builtin-declaration-mismatch \ - -Wno-misleading-indentation -Wno-sequence-point \ - -Wno-unknown-warning-option + -Wno-misleading-indentation -Wno-sequence-point + +# 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 +59,6 @@ CSTD= -std=gnu11 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Variables to help simplify defining the defines @@ -103,8 +103,7 @@ CSILENCE+= -Wno-comma -Wno-disabled-macro-expansion -Wno-double-promotion \ -Wno-float-conversion -Wno-implicit-float-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-strict-prototypes -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2011/vik/Makefile b/2011/vik/Makefile index 0121db94d..8a6311575 100644 --- a/2011/vik/Makefile +++ b/2011/vik/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -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 # @@ -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 diff --git a/2011/zucker/Makefile b/2011/zucker/Makefile index fe83461ee..b3b12e9ba 100644 --- a/2011/zucker/Makefile +++ b/2011/zucker/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -Wno-strict-prototypes -Wno-cpp -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 diff --git a/2012/blakely/Makefile b/2012/blakely/Makefile index 117c22c99..ecd6827b3 100644 --- a/2012/blakely/Makefile +++ b/2012/blakely/Makefile @@ -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 # diff --git a/2012/deckmyn/Makefile b/2012/deckmyn/Makefile index 093d73b25..a04a645bc 100644 --- a/2012/deckmyn/Makefile +++ b/2012/deckmyn/Makefile @@ -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 # diff --git a/2012/dlowe/Makefile b/2012/dlowe/Makefile index 31962d5e0..e11923714 100644 --- a/2012/dlowe/Makefile +++ b/2012/dlowe/Makefile @@ -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 diff --git a/2012/endoh1/Makefile b/2012/endoh1/Makefile index 5694bb6b7..99ba6ca0d 100644 --- a/2012/endoh1/Makefile +++ b/2012/endoh1/Makefile @@ -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 diff --git a/2012/endoh2/Makefile b/2012/endoh2/Makefile index fee0493eb..e9e26f3fb 100644 --- a/2012/endoh2/Makefile +++ b/2012/endoh2/Makefile @@ -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 # diff --git a/2012/grothe/Makefile b/2012/grothe/Makefile index 3036d11c9..81cbef12b 100644 --- a/2012/grothe/Makefile +++ b/2012/grothe/Makefile @@ -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 diff --git a/2012/hamano/Makefile b/2012/hamano/Makefile index a2310ffa1..c59f50ae1 100644 --- a/2012/hamano/Makefile +++ b/2012/hamano/Makefile @@ -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 diff --git a/2012/hou/Makefile b/2012/hou/Makefile index da9bc423e..85636364e 100644 --- a/2012/hou/Makefile +++ b/2012/hou/Makefile @@ -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 diff --git a/2012/kang/Makefile b/2012/kang/Makefile index dfabec179..b14a563e3 100644 --- a/2012/kang/Makefile +++ b/2012/kang/Makefile @@ -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 diff --git a/2012/konno/Makefile b/2012/konno/Makefile index 9b6f638d9..96e91acb3 100644 --- a/2012/konno/Makefile +++ b/2012/konno/Makefile @@ -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 diff --git a/2012/omoikane/Makefile b/2012/omoikane/Makefile index 2e93f6a5f..41858414f 100644 --- a/2012/omoikane/Makefile +++ b/2012/omoikane/Makefile @@ -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 diff --git a/2012/tromp/Makefile b/2012/tromp/Makefile index 7375d920f..ba6bdb8ba 100644 --- a/2012/tromp/Makefile +++ b/2012/tromp/Makefile @@ -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 # diff --git a/2012/vik/Makefile b/2012/vik/Makefile index 6b4a7847b..a67214f60 100644 --- a/2012/vik/Makefile +++ b/2012/vik/Makefile @@ -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 diff --git a/2012/zeitak/Makefile b/2012/zeitak/Makefile index 436355a7d..3ac5266a0 100644 --- a/2012/zeitak/Makefile +++ b/2012/zeitak/Makefile @@ -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 diff --git a/2013/birken/Makefile b/2013/birken/Makefile index ad56d16f5..7e055d110 100644 --- a/2013/birken/Makefile +++ b/2013/birken/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-newline-eof -Wno-strict-prototypes -Wno-maybe-uninitialized \ - -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 # @@ -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 @@ -86,8 +87,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 # diff --git a/2013/cable1/Makefile b/2013/cable1/Makefile index d33a5557d..6764f9cd9 100644 --- a/2013/cable1/Makefile +++ b/2013/cable1/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-bool-operation -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int +# 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 diff --git a/2013/cable2/Makefile b/2013/cable2/Makefile index 20403b554..10a6ea7d3 100644 --- a/2013/cable2/Makefile +++ b/2013/cable2/Makefile @@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-dollar-in-identifier-extension \ -Wno-shift-op-parentheses -Wno-unsequenced -Wno-misleading-indentation \ -Wno-sequence-point -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 # @@ -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 diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 2089a536e..7b6f26b97 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -48,9 +48,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-bool-operation \ -Wno-pointer-type-mismatch -Wno-int-conversion -Wno-unused-value \ -Wno-int-in-bool-context -Wno-sequence-point -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 # @@ -58,9 +62,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 @@ -97,8 +98,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-dollar-in-identifier-extension \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ -Wno-strict-prototypes -Wno-shorten-64-to-32 \ -Wno-cast-function-type-strict -Wno-reserved-identifier \ - -Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2013/dlowe/Makefile b/2013/dlowe/Makefile index ac87b3f43..3d764f989 100644 --- a/2013/dlowe/Makefile +++ b/2013/dlowe/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-implicit-int -Wno-pedantic -Wno-deprecated-non-prototype +# 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 diff --git a/2013/endoh1/Makefile b/2013/endoh1/Makefile index d5fb6f9b1..7c237d9ef 100644 --- a/2013/endoh1/Makefile +++ b/2013/endoh1/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-deprecated-non-prototype -Wno-strict-prototypes \ - -Wno-maybe-uninitialized -Wno-unknown-warning-option + -Wno-maybe-uninitialized + +# 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 @@ -89,8 +90,8 @@ CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-missing-prototypes \ -Wno-redundant-parens -Wno-shorten-64-to-32 -Wno-strict-prototypes \ -Wno-cast-function-type-strict -Wno-extra-semi-stmt \ -Wno-incompatible-function-pointer-types-strict \ - -Wno-misleading-indentation -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage -Wno-unreachable-code + -Wno-misleading-indentation -Wno-unsafe-buffer-usage \ + -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/2013/endoh2/Makefile b/2013/endoh2/Makefile index 00a47c885..33a743f3a 100644 --- a/2013/endoh2/Makefile +++ b/2013/endoh2/Makefile @@ -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=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 @@ -86,8 +87,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variae-declarations \ -Wno-poison-system-directories -Wno-shadow \ - -Wno-missing-variable-declarations -Wno-unknown-warning-option \ - -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage + -Wno-missing-variable-declarations -Wno-extra-semi-stmt \ + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2013/endoh3/Makefile b/2013/endoh3/Makefile index 0b4d0e8e2..625491819 100644 --- a/2013/endoh3/Makefile +++ b/2013/endoh3/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-main -Wno-deprecated-non-prototype -Wno-unused-parameter \ - -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch + +# 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 @@ -87,8 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-float-conversion \ -Wno-implicit-float-conversion -Wno-missing-variable-declarations \ - -Wno-newline-eof -Wno-pedantic -Wno-poison-system-directories \ - -Wno-unknown-warning-option + -Wno-newline-eof -Wno-pedantic -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/2013/endoh4/Makefile b/2013/endoh4/Makefile index 209c9e5f2..326a70354 100644 --- a/2013/endoh4/Makefile +++ b/2013/endoh4/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -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= # Variable to simplify redefining size diff --git a/2013/hou/Makefile b/2013/hou/Makefile index b85928351..b259cc89f 100644 --- a/2013/hou/Makefile +++ b/2013/hou/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-sign-compare -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 diff --git a/2013/mills/Makefile b/2013/mills/Makefile index f6d991a27..ecd00ab5f 100644 --- a/2013/mills/Makefile +++ b/2013/mills/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-parentheses -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=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 diff --git a/2013/misaka/Makefile b/2013/misaka/Makefile index 808b517c0..cb0f33d3a 100644 --- a/2013/misaka/Makefile +++ b/2013/misaka/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-comment -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 # @@ -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 diff --git a/2013/morgan1/Makefile b/2013/morgan1/Makefile index 98454e1a9..7ac2dd83a 100644 --- a/2013/morgan1/Makefile +++ b/2013/morgan1/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-absolute-value -Wno-logical-op-parentheses \ -Wno-shift-op-parentheses -Wno-strict-prototypes \ -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 # @@ -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 diff --git a/2013/morgan2/Makefile b/2013/morgan2/Makefile index 3909f20d7..dd882151e 100644 --- a/2013/morgan2/Makefile +++ b/2013/morgan2/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-string-plus-int -Wno-strict-prototypes \ -Wno-misleading-indentation -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=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 diff --git a/2013/robison/Makefile b/2013/robison/Makefile index f08d85a88..58b52c337 100644 --- a/2013/robison/Makefile +++ b/2013/robison/Makefile @@ -39,12 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-parentheses -Wno-unused-variable \ - -Wno-misleading-indentation -Wno-stringop-truncation \ - -Wno-unknown-warning-option + -Wno-misleading-indentation -Wno-stringop-truncation + +# 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 +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 @@ -89,7 +89,7 @@ CSILENCE+= -Wno-cast-qual -Wno-comma -Wno-disabled-macro-expansion \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes -Wno-unknown-warning-option + -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/2014/birken/Makefile b/2014/birken/Makefile index 1bf035723..fcec43d89 100644 --- a/2014/birken/Makefile +++ b/2014/birken/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-comment -Wno-dangling-else -Wno-error \ -Wno-implicit-function-declaration -Wno-incompatible-pointer-types \ -Wno-parentheses -Wno-trigraphs -Wno-newline-eof \ - -Wno-builtin-declaration-mismatch -Wno-sequence-point \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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 +57,6 @@ CSTD= -std=c99 # 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-comma -Wno-format-nonliteral -Wno-implicit-int-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-sign-conversion \ - -Wno-misleading-indentation -Wno-unknown-warning-option \ - -Wno-unsafe-buffer-usage + -Wno-misleading-indentation -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2014/deak/Makefile b/2014/deak/Makefile index 01212c41d..d7dff6b11 100644 --- a/2014/deak/Makefile +++ b/2014/deak/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-dollar-in-identifier-extension \ -Wno-int-conversion -Wno-main -Wno-newline-eof \ -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 diff --git a/2014/endoh1/Makefile b/2014/endoh1/Makefile index fdbf6f34a..04969a14d 100644 --- a/2014/endoh1/Makefile +++ b/2014/endoh1/Makefile @@ -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 @@ -224,8 +225,8 @@ clean: clobber: clean ${RM} -f ${TARGET} ${ALT_TARGET} ${RM} -rf *.dSYM - ${RM} -f main.c treacle.c - ${RM} -f alpha.txt ast.txt raw.txt reg.txt seq.txt + ${RM} -f main.c treacle.c + ${RM} -f alpha.txt ast.txt raw.txt reg.txt seq.txt @-if [ -e sandwich ]; then \ ${RM} -f sandwich; \ echo 'ate sandwich'; \ diff --git a/2014/endoh2/Makefile b/2014/endoh2/Makefile index 0df3492a3..885a9bbd2 100644 --- a/2014/endoh2/Makefile +++ b/2014/endoh2/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-pedantic -Wno-string-plus-int +# 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 diff --git a/2014/maffiodo1/Makefile b/2014/maffiodo1/Makefile index a499def82..236b01861 100644 --- a/2014/maffiodo1/Makefile +++ b/2014/maffiodo1/Makefile @@ -46,9 +46,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-deprecated-non-prototype \ -Wno-misleading-indentation -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=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 @@ -96,7 +97,7 @@ CSILENCE+= -Wno-comma -Wno-documentation -Wno-extra-semi -Wno-implicit-int \ -Wno-declaration-after-statement -Wno-implicit-int-conversion \ -Wno-extra-semi-stmt -Wno-incompatible-function-pointer-types-strict \ -Wno-reserved-identifier -Wno-reserved-macro-identifier \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2014/maffiodo2/Makefile b/2014/maffiodo2/Makefile index 3ac3d475c..a9fe208ea 100644 --- a/2014/maffiodo2/Makefile +++ b/2014/maffiodo2/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-return-type -Wno-unused-parameter -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 # @@ -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 diff --git a/2014/morgan/Makefile b/2014/morgan/Makefile index 3f0fec4e9..33a5e3ee0 100644 --- a/2014/morgan/Makefile +++ b/2014/morgan/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-logical-op-parentheses \ -Wno-misleading-indentation -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 diff --git a/2014/sinon/Makefile b/2014/sinon/Makefile index e296f469f..ca5ce6a6f 100644 --- a/2014/sinon/Makefile +++ b/2014/sinon/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-pointer-arith -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 diff --git a/2014/skeggs/Makefile b/2014/skeggs/Makefile index 6741d824a..098488520 100644 --- a/2014/skeggs/Makefile +++ b/2014/skeggs/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-format-extra-args -Wno-keyword-macro -Wno-parentheses \ -Wno-unused-parameter -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 # @@ -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 diff --git a/2014/vik/Makefile b/2014/vik/Makefile index 9cab079f6..caca1ef02 100644 --- a/2014/vik/Makefile +++ b/2014/vik/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-int-in-bool-context -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 # @@ -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 diff --git a/2014/wiedijk/Makefile b/2014/wiedijk/Makefile index 96a4cc59d..22b1734e6 100644 --- a/2014/wiedijk/Makefile +++ b/2014/wiedijk/Makefile @@ -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=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 diff --git a/2015/burton/Makefile b/2015/burton/Makefile index 60b5c0a5c..9fe988f89 100644 --- a/2015/burton/Makefile +++ b/2015/burton/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-long-long -Wno-parentheses \ -Wno-misleading-indentation -Wno-sequence-point -Wno-sign-compare \ -Wno-unused-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 # @@ -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 @@ -91,7 +92,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ -Wno-sign-conversion -Wno-strict-prototypes \ -Wno-incompatible-function-pointer-types-strict -Wno-reserved-identifier \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2015/dogon/Makefile b/2015/dogon/Makefile index 7178819bb..73c858a6c 100644 --- a/2015/dogon/Makefile +++ b/2015/dogon/Makefile @@ -42,11 +42,15 @@ CSILENCE= -Wno-absolute-value -Wno-char-subscripts -Wno-dangling-else \ -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -Wno-shift-op-parentheses -Wno-implicit-int -Wno-strict-prototypes \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-sign-compare -Wno-unused-value -Wno-unknown-warning-option + -Wno-sign-compare -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 # @@ -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= # Variables to control dimensions of the game @@ -97,7 +98,7 @@ CSILENCE+= -Wno-double-promotion -Wno-float-conversion -Wno-implicit-float-conve -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ -Wno-declaration-after-statement -Wno-extra-semi-stmt \ - -Wno-unknown-warning-option -Wno-unsafe-buffer-usage + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2015/duble/Makefile b/2015/duble/Makefile index b3e3f3d9c..c198ec8a5 100644 --- a/2015/duble/Makefile +++ b/2015/duble/Makefile @@ -44,9 +44,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-implicit-int -Wno-int-conversion \ -Wno-unsequenced -Wno-unused-value -Wno-strict-prototypes \ -Wno-cpp -Wno-int-in-bool-context -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 # @@ -54,9 +58,6 @@ CSTD= -std=c11 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2015/endoh1/Makefile b/2015/endoh1/Makefile index 624d9e863..1e00b3b46 100644 --- a/2015/endoh1/Makefile +++ b/2015/endoh1/Makefile @@ -39,11 +39,15 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-strict-prototypes -Wno-misleading-indentation \ - -Wno-multistatement-macros -Wno-unknown-warning-option + -Wno-multistatement-macros + +# 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 @@ -90,7 +91,7 @@ CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-float-conversion \ -Wno-poison-system-directories -Wno-redundant-parens -Wno-shadow \ -Wno-sign-conversion -Wno-strict-prototypes \ -Wno-extra-semi-stmt -Wno-misleading-indentation \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2015/endoh2/Makefile b/2015/endoh2/Makefile index a709aed7a..80f28db23 100644 --- a/2015/endoh2/Makefile +++ b/2015/endoh2/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \ - -Wno-format-zero-length -Wno-unknown-warning-option + -Wno-format-zero-length + +# 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 @@ -86,7 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-format-nonliteral -Wno-poison-system-directories \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2015/endoh3/Makefile b/2015/endoh3/Makefile index 73788c8c7..e93550323 100644 --- a/2015/endoh3/Makefile +++ b/2015/endoh3/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-main -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 diff --git a/2015/endoh4/Makefile b/2015/endoh4/Makefile index 5a80c8eb9..92f94c02e 100644 --- a/2015/endoh4/Makefile +++ b/2015/endoh4/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-main -Wno-pedantic -Wno-return-type -Wno-deprecated-non-prototype \ -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 diff --git a/2015/hou/Makefile b/2015/hou/Makefile index cb8bb3dd6..36d00d8dd 100644 --- a/2015/hou/Makefile +++ b/2015/hou/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-strict-prototypes -Wno-ignored-qualifiers +# 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 diff --git a/2015/howe/Makefile b/2015/howe/Makefile index e03f37f4d..5da711b56 100644 --- a/2015/howe/Makefile +++ b/2015/howe/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-sign-compare -Wno-deprecated-non-prototype -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 diff --git a/2015/mills1/Makefile b/2015/mills1/Makefile index bd6c981b6..b40afe4ca 100644 --- a/2015/mills1/Makefile +++ b/2015/mills1/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ -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 # @@ -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 diff --git a/2015/mills2/Makefile b/2015/mills2/Makefile index fccedc877..985a60d76 100644 --- a/2015/mills2/Makefile +++ b/2015/mills2/Makefile @@ -40,11 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \ -Wno-builtin-declaration-mismatch -Wno-misleading-indentation \ - -Wno-parentheses -Wno-unused-parameter -Wno-unknown-warning-option + -Wno-parentheses -Wno-unused-parameter + +# 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 @@ -85,7 +86,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage \ + -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage \ -Wno-poison-system-directories -Wno-shadow # CWARN+= -Weverything diff --git a/2015/muth/Makefile b/2015/muth/Makefile index 571451207..d925ef14b 100644 --- a/2015/muth/Makefile +++ b/2015/muth/Makefile @@ -38,12 +38,15 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-keyword-macro -Wno-strict-prototypes -Wno-builtin-declaration-mismatch \ - -Wno-unknown-warning-option +CSILENCE= -Wno-keyword-macro -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 # @@ -51,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 @@ -84,8 +84,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros \ - -Wno-unknown-warning-option +CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros # CWARN+= -Weverything # diff --git a/2015/schweikhardt/Makefile b/2015/schweikhardt/Makefile index 4cbf254eb..dc2903719 100644 --- a/2015/schweikhardt/Makefile +++ b/2015/schweikhardt/Makefile @@ -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=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 diff --git a/2015/yang/Makefile b/2015/yang/Makefile index 3c7636629..834d4069d 100644 --- a/2015/yang/Makefile +++ b/2015/yang/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-dollar-in-identifier-extension -Wno-null-character \ -Wno-misleading-indentation -Wno-pedantic -Wno-null-pointer-subtraction +# 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 diff --git a/2018/algmyr/Makefile b/2018/algmyr/Makefile index c621b0415..ea2368113 100644 --- a/2018/algmyr/Makefile +++ b/2018/algmyr/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -Wno-string-plus-int -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 diff --git a/2018/anderson/Makefile b/2018/anderson/Makefile index 82cff5c0b..a50c72179 100644 --- a/2018/anderson/Makefile +++ b/2018/anderson/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-unsequenced -Wno-self-assign -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 diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile index 02bab8e1e..1b1a087e3 100644 --- a/2018/bellard/Makefile +++ b/2018/bellard/Makefile @@ -41,12 +41,15 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-logical-op-parentheses -Wno-main -Wno-parentheses -Wno-pedantic \ -Wno-return-type -Wno-shift-op-parentheses -Wno-builtin-declaration-mismatch \ - -Wno-deprecated-non-prototype -Wno-unused-parameter \ - -Wno-unknown-warning-option + -Wno-deprecated-non-prototype -Wno-unused-parameter + +# 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=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 @@ -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-unknown-warning-option -Wno-unsafe-buffer-usage \ - -Wno-strict-prototypes + -Wno-unsafe-buffer-usage -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/2018/burton1/Makefile b/2018/burton1/Makefile index b948441b9..b4bedc7c1 100644 --- a/2018/burton1/Makefile +++ b/2018/burton1/Makefile @@ -40,12 +40,15 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-main -Wno-deprecated-non-prototype \ - -Wno-builtin-declaration-mismatch -Wno-unused-value \ - -Wno-unknown-warning-option + -Wno-builtin-declaration-mismatch -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=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 @@ -87,8 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage \ - -Wno-unknown-warning-option + -Wno-pedantic -Wno-poison-system-directories -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2018/burton2/Makefile b/2018/burton2/Makefile index 3383434f4..88174151c 100644 --- a/2018/burton2/Makefile +++ b/2018/burton2/Makefile @@ -43,9 +43,13 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-empty-body \ -Wno-misleading-indentation -Wno-unused-value \ -Wno-sign-compare -Wno-trigraphs +# 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 +57,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 diff --git a/2018/ciura/Makefile b/2018/ciura/Makefile index ec012ac92..83c863539 100644 --- a/2018/ciura/Makefile +++ b/2018/ciura/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-shift-op-parentheses -Wno-unused-value -Wno-strict-prototypes \ -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=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 diff --git a/2018/endoh1/Makefile b/2018/endoh1/Makefile index 7178160aa..b402ffac8 100644 --- a/2018/endoh1/Makefile +++ b/2018/endoh1/Makefile @@ -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 diff --git a/2018/endoh2/Makefile b/2018/endoh2/Makefile index 41fdadc1a..0c5a4fb19 100644 --- a/2018/endoh2/Makefile +++ b/2018/endoh2/Makefile @@ -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 diff --git a/2018/ferguson/Makefile b/2018/ferguson/Makefile index ec767f5d6..db874a4d4 100644 --- a/2018/ferguson/Makefile +++ b/2018/ferguson/Makefile @@ -38,11 +38,15 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-strict-prototypes -Wno-stringop-truncation -Wno-unknown-warning-option +CSILENCE= -Wno-strict-prototypes -Wno-stringop-truncation + +# 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= # Variables to help simplify configuring the build @@ -102,7 +103,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-padded -Wno-poison-system-directories \ -Wno-disabled-macro-expansion -Wno-extra-semi-stmt \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2018/giles/Makefile b/2018/giles/Makefile index 3f11ea5cd..650fbf3ae 100644 --- a/2018/giles/Makefile +++ b/2018/giles/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -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 diff --git a/2018/hou/Makefile b/2018/hou/Makefile index 4d8a414b9..f18ccfcca 100644 --- a/2018/hou/Makefile +++ b/2018/hou/Makefile @@ -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=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 diff --git a/2018/mills/Makefile b/2018/mills/Makefile index 076bad43e..b93bfb094 100644 --- a/2018/mills/Makefile +++ b/2018/mills/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-gnu-empty-initializer -Wno-missing-field-initializers \ -Wno-misleading-indentation -Wno-pedantic -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 diff --git a/2018/poikola/Makefile b/2018/poikola/Makefile index ce5184a76..9c9df9043 100644 --- a/2018/poikola/Makefile +++ b/2018/poikola/Makefile @@ -42,9 +42,13 @@ CSILENCE= -Wno-comment -Wno-dollar-in-identifier-extension -Wno-string-plus-int -Wno-unused-parameter -Wno-deprecated-non-prototype \ -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 +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 diff --git a/2018/vokes/Makefile b/2018/vokes/Makefile index 00bf1c6b2..4279a3a74 100644 --- a/2018/vokes/Makefile +++ b/2018/vokes/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-deprecated-non-prototype -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 @@ -85,7 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-prototypes -Wno-poison-system-directories \ -Wno-strict-prototypes -Wno-incompatible-function-pointer-types-strict \ - -Wno-unsafe-buffer-usage -Wno-unknown-warning-option + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2018/yang/Makefile b/2018/yang/Makefile index 1cb1e684f..e7412d196 100644 --- a/2018/yang/Makefile +++ b/2018/yang/Makefile @@ -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 diff --git a/2019/adamovsky/Makefile b/2019/adamovsky/Makefile index 8cc4f583a..2e4dd1c44 100644 --- a/2019/adamovsky/Makefile +++ b/2019/adamovsky/Makefile @@ -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 diff --git a/2019/burton/Makefile b/2019/burton/Makefile index 0b211640a..c97d907a6 100644 --- a/2019/burton/Makefile +++ b/2019/burton/Makefile @@ -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 # diff --git a/2019/ciura/Makefile b/2019/ciura/Makefile index f3075de43..bf006a3cc 100644 --- a/2019/ciura/Makefile +++ b/2019/ciura/Makefile @@ -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 diff --git a/2019/diels-grabsch1/Makefile b/2019/diels-grabsch1/Makefile index b5d607f6f..fde75b300 100644 --- a/2019/diels-grabsch1/Makefile +++ b/2019/diels-grabsch1/Makefile @@ -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 diff --git a/2019/diels-grabsch2/Makefile b/2019/diels-grabsch2/Makefile index 84b898f9c..0819e1515 100644 --- a/2019/diels-grabsch2/Makefile +++ b/2019/diels-grabsch2/Makefile @@ -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 diff --git a/2019/dogon/Makefile b/2019/dogon/Makefile index 21d233887..cd65d0a4a 100644 --- a/2019/dogon/Makefile +++ b/2019/dogon/Makefile @@ -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 # diff --git a/2019/duble/Makefile b/2019/duble/Makefile index 4b3b4890f..e5904b1e7 100644 --- a/2019/duble/Makefile +++ b/2019/duble/Makefile @@ -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 diff --git a/2019/endoh/Makefile b/2019/endoh/Makefile index bacd034b3..703fae306 100644 --- a/2019/endoh/Makefile +++ b/2019/endoh/Makefile @@ -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 diff --git a/2019/giles/Makefile b/2019/giles/Makefile index e1ce268ab..df7b23bf4 100644 --- a/2019/giles/Makefile +++ b/2019/giles/Makefile @@ -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 # diff --git a/2019/karns/Makefile b/2019/karns/Makefile index 9287751fb..19db05fdf 100644 --- a/2019/karns/Makefile +++ b/2019/karns/Makefile @@ -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 # diff --git a/2019/lynn/Makefile b/2019/lynn/Makefile index b6b0a6b48..251793da2 100644 --- a/2019/lynn/Makefile +++ b/2019/lynn/Makefile @@ -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 diff --git a/2019/mills/Makefile b/2019/mills/Makefile index e2cbecdb3..5f0915a21 100644 --- a/2019/mills/Makefile +++ b/2019/mills/Makefile @@ -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 diff --git a/2019/poikola/Makefile b/2019/poikola/Makefile index 2f2067674..e186d8050 100644 --- a/2019/poikola/Makefile +++ b/2019/poikola/Makefile @@ -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 diff --git a/2019/yang/Makefile b/2019/yang/Makefile index 6ff9bb015..1b6ac74c3 100644 --- a/2019/yang/Makefile +++ b/2019/yang/Makefile @@ -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 diff --git a/2020/burton/Makefile b/2020/burton/Makefile index 85727d421..07a77c4ff 100644 --- a/2020/burton/Makefile +++ b/2020/burton/Makefile @@ -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=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 diff --git a/2020/carlini/Makefile b/2020/carlini/Makefile index 6ba048dff..859d101c2 100644 --- a/2020/carlini/Makefile +++ b/2020/carlini/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-overlength-strings -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 diff --git a/2020/endoh1/Makefile b/2020/endoh1/Makefile index 0122466d1..d3390fea8 100644 --- a/2020/endoh1/Makefile +++ b/2020/endoh1/Makefile @@ -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 diff --git a/2020/endoh2/Makefile b/2020/endoh2/Makefile index 7e6180381..22dbf947d 100644 --- a/2020/endoh2/Makefile +++ b/2020/endoh2/Makefile @@ -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=c99 # Compiler bit architecture # -# Some entries require 32-bitness: ARCH= -m32 -# Some entries require 64-bitness: ARCH= -m64 -# ARCH= # Defines that are needed to compile diff --git a/2020/endoh3/Makefile b/2020/endoh3/Makefile index dd7fda092..df214af9a 100644 --- a/2020/endoh3/Makefile +++ b/2020/endoh3/Makefile @@ -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 diff --git a/2020/ferguson1/Makefile b/2020/ferguson1/Makefile index 0a6cfb3cc..47d5c4c4c 100644 --- a/2020/ferguson1/Makefile +++ b/2020/ferguson1/Makefile @@ -40,13 +40,16 @@ include ../../var.mk # CSILENCE= -Wno-unused-value -Wno-implicit-fallthrough -Wno-parentheses \ -Wno-binding-in-condition -Wno-binding-in-condition \ - -Wno-misleading-indentation -Wno-unknown-warning-option \ - -Wno-comment -Wno-implicit-function-declaration \ + -Wno-misleading-indentation -Wno-comment -Wno-implicit-function-declaration \ -Wno-misleading-indentation -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 # @@ -54,9 +57,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 @@ -90,9 +90,9 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE= -Wno-unused-value -Wno-misleading-indentation -Wno-parentheses \ - -Wno-unknown-warning-option -Wno-poison-system-directories \ - -Wno-declaration-after-statement -Wno-padded \ - -Wno-extra-semi-stmt -Wno-implicit-fallthrough -Wno-unsafe-buffer-usage + -Wno-poison-system-directories -Wno-declaration-after-statement \ + -Wno-padded -Wno-extra-semi-stmt -Wno-implicit-fallthrough \ + -Wno-unsafe-buffer-usage # CWARN+= -Weverything # diff --git a/2020/ferguson2/Makefile b/2020/ferguson2/Makefile index ce0fc3b50..570c743c6 100644 --- a/2020/ferguson2/Makefile +++ b/2020/ferguson2/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-comment -Wno-implicit-function-declaration \ -Wno-misleading-indentation -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=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 @@ -215,7 +216,7 @@ clean: clobber: clean ${RM} -f ${TARGET} ${ALT_TARGET} - ${RM} -rf *.dSYM decrypted.html conf input output output2 + ${RM} -rf *.dSYM decrypted.html conf input output output2 @-if [ -e sandwich ]; then \ ${RM} -f sandwich; \ echo 'ate sandwich'; \ diff --git a/2020/giles/Makefile b/2020/giles/Makefile index 587e4c4b2..e34a5927e 100644 --- a/2020/giles/Makefile +++ b/2020/giles/Makefile @@ -40,9 +40,13 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -Wno-string-plus-char -Wno-string-plus-int +# 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 diff --git a/2020/kurdyukov1/Makefile b/2020/kurdyukov1/Makefile index f15c186c8..e55797f2c 100644 --- a/2020/kurdyukov1/Makefile +++ b/2020/kurdyukov1/Makefile @@ -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 diff --git a/2020/kurdyukov2/Makefile b/2020/kurdyukov2/Makefile index 9ce23212f..6dc55fd70 100644 --- a/2020/kurdyukov2/Makefile +++ b/2020/kurdyukov2/Makefile @@ -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=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 diff --git a/2020/kurdyukov3/Makefile b/2020/kurdyukov3/Makefile index 50e42f01c..cac8fcb9f 100644 --- a/2020/kurdyukov3/Makefile +++ b/2020/kurdyukov3/Makefile @@ -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 diff --git a/2020/kurdyukov4/Makefile b/2020/kurdyukov4/Makefile index 830ce6458..3b70e1082 100644 --- a/2020/kurdyukov4/Makefile +++ b/2020/kurdyukov4/Makefile @@ -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=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 diff --git a/2020/otterness/Makefile b/2020/otterness/Makefile index bb92ef7fc..1a89cefc6 100644 --- a/2020/otterness/Makefile +++ b/2020/otterness/Makefile @@ -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 diff --git a/2020/tsoj/Makefile b/2020/tsoj/Makefile index 4a7cfacff..f3fedf526 100644 --- a/2020/tsoj/Makefile +++ b/2020/tsoj/Makefile @@ -41,9 +41,13 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-missing-field-initializers -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 # @@ -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 diff --git a/2020/yang/Makefile b/2020/yang/Makefile index 7457e727b..659b8f1ed 100644 --- a/2020/yang/Makefile +++ b/2020/yang/Makefile @@ -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=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