From a86786130f88c649b35d1a3f118f31ed35cd9a88 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Mon, 11 Mar 2024 10:42:32 -0700 Subject: [PATCH] silence most warnings under macOS For macOS Apple clang version 15.0.0 (clang-1500.3.9.4) compiler, we have silenced the warnings that can be silenced. We also updated `.gitignore` for `2014/maffiodo2` and `1995/vanschnitz`. --- 1985/applin/Makefile | 2 +- 1985/sicherman/Makefile | 2 +- 1986/wall/Makefile | 3 ++- 1987/biggar/Makefile | 2 +- 1987/heckbert/Makefile | 3 ++- 1987/lievaart/Makefile | 3 ++- 1988/applin/Makefile | 3 ++- 1988/phillipps/Makefile | 2 +- 1988/reddy/Makefile | 3 ++- 1988/robison/Makefile | 3 ++- 1988/westley/Makefile | 3 ++- 1989/jar.2/Makefile | 2 +- 1989/paul/Makefile | 5 +++-- 1989/robison/Makefile | 2 +- 1989/roemer/Makefile | 2 +- 1989/tromp/Makefile | 2 +- 1989/vanb/Makefile | 2 +- 1989/westley/Makefile | 4 +++- 1990/cmills/Makefile | 2 +- 1990/jaw/Makefile | 2 +- 1990/pjr/Makefile | 2 +- 1990/scjones/Makefile | 2 +- 1990/tbr/Makefile | 2 +- 1990/westley/Makefile | 2 +- 1991/ant/Makefile | 2 +- 1991/brnstnd/Makefile | 3 ++- 1991/davidguy/Makefile | 3 ++- 1991/dds/Makefile | 2 +- 1991/fine/Makefile | 2 +- 1991/rince/Makefile | 2 +- 1991/westley/Makefile | 2 +- 1992/albert/Makefile | 6 ++++-- 1992/buzzard.2/Makefile | 2 +- 1992/imc/Makefile | 5 +++-- 1992/kivinen/Makefile | 3 ++- 1992/lush/Makefile | 2 +- 1992/vern/Makefile | 2 +- 1993/jonth/Makefile | 2 +- 1993/rince/Makefile | 2 +- 1993/schnitzi/Makefile | 3 ++- 1994/dodsond1/Makefile | 2 +- 1994/horton/Makefile | 2 +- 1994/ldb/Makefile | 2 +- 1994/schnitzi/Makefile | 2 +- 1994/tvr/Makefile | 2 +- 1994/westley/Makefile | 2 +- 1995/cdua/Makefile | 3 ++- 1995/dodsond1/Makefile | 2 +- 1995/esde/Makefile | 2 +- 1995/garry/Makefile | 2 +- 1995/makarios/Makefile | 5 +++-- 1995/schnitzi/Makefile | 3 ++- 1995/spinellis/Makefile | 2 +- 1995/vanschnitz/.gitignore | 1 + 1996/huffman/Makefile | 2 +- 1996/jonth/Makefile | 3 ++- 1996/rcm/Makefile | 3 ++- 1996/schweikh3/Makefile | 2 +- 1998/bas1/Makefile | 3 ++- 1998/bas2/Makefile | 2 +- 1998/dorssel/Makefile | 2 +- 1998/fanf/Makefile | 2 +- 1998/schnitzi/Makefile | 5 +++-- 1998/schweikh3/Makefile | 2 +- 2000/thadgavin/Makefile | 6 ++++-- 2000/tomx/Makefile | 4 +++- 2001/ctk/Makefile | 3 ++- 2004/jdalbec/Makefile | 2 +- 2004/kopczynski/Makefile | 3 ++- 2005/jetro/Makefile | 2 +- 2005/toledo/Makefile | 5 +++-- 2012/tromp/Makefile | 2 +- 2013/cable3/Makefile | 2 +- 2013/hou/Makefile | 4 +++- 2014/maffiodo2/.gitignore | 1 + 2018/bellard/Makefile | 3 ++- 2018/giles/Makefile | 3 ++- 2020/ferguson2/Makefile | 2 +- 78 files changed, 120 insertions(+), 83 deletions(-) diff --git a/1985/applin/Makefile b/1985/applin/Makefile index c4d8b7cee..bff26dc4d 100644 --- a/1985/applin/Makefile +++ b/1985/applin/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile index a9a47ebec..37d40cba8 100644 --- a/1985/sicherman/Makefile +++ b/1985/sicherman/Makefile @@ -88,7 +88,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \ - -Wno-unused-macros + -Wno-unused-macros -Wno-missing-variable-declarations -Wno-shadow # CWARN+= -Weverything # diff --git a/1986/wall/Makefile b/1986/wall/Makefile index e397a297d..1cc281cd6 100644 --- a/1986/wall/Makefile +++ b/1986/wall/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-parentheses -Wno-c99-extensions -Wno-declaration-after-statement \ - -Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-string-plus-char + -Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-string-plus-char \ + -Wno-macro-redefined # Common C compiler warning flags # diff --git a/1987/biggar/Makefile b/1987/biggar/Makefile index 81456060c..b521909df 100644 --- a/1987/biggar/Makefile +++ b/1987/biggar/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile index bf75683ed..e8bf2d2b3 100644 --- a/1987/heckbert/Makefile +++ b/1987/heckbert/Makefile @@ -85,7 +85,8 @@ CC= cc 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-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1987/lievaart/Makefile b/1987/lievaart/Makefile index dc82f8eab..b0f72cc8e 100644 --- a/1987/lievaart/Makefile +++ b/1987/lievaart/Makefile @@ -86,7 +86,8 @@ 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-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1988/applin/Makefile b/1988/applin/Makefile index ead23a552..d6f748dc0 100644 --- a/1988/applin/Makefile +++ b/1988/applin/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes +CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes \ + -Wno-gnu-line-marker # Common C compiler warning flags diff --git a/1988/phillipps/Makefile b/1988/phillipps/Makefile index 4301518ec..fcbd484c8 100644 --- a/1988/phillipps/Makefile +++ b/1988/phillipps/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-pedantic -Wno-logical-not-parentheses -Wno-implicit-function-declaration \ -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-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1988/reddy/Makefile b/1988/reddy/Makefile index a482a14c0..a16eb33a4 100644 --- a/1988/reddy/Makefile +++ b/1988/reddy/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-pedantic -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype + -Wno-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1988/robison/Makefile b/1988/robison/Makefile index 7777166a8..978c8f611 100644 --- a/1988/robison/Makefile +++ b/1988/robison/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1988/westley/Makefile b/1988/westley/Makefile index e722039ee..cb3719ba7 100644 --- a/1988/westley/Makefile +++ b/1988/westley/Makefile @@ -85,7 +85,8 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-double-promotion -Wno-float-conversion # CWARN+= -Weverything # diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile index 9f93f870f..9bb905fb0 100644 --- a/1989/jar.2/Makefile +++ b/1989/jar.2/Makefile @@ -86,7 +86,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-poison-system-directories -Wno-shorten-64-to-32 -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1989/paul/Makefile b/1989/paul/Makefile index 1988ef795..c4e656001 100644 --- a/1989/paul/Makefile +++ b/1989/paul/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # 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-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # @@ -86,7 +87,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-cast-align -Wno-missing-prototypes -Wno-pedantic \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/1989/robison/Makefile b/1989/robison/Makefile index 096122549..f50fee857 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \ - -Wno-int-to-pointer-cast -Wno-strict-prototypes + -Wno-int-to-pointer-cast -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1989/roemer/Makefile b/1989/roemer/Makefile index cb672be1e..866fb11e1 100644 --- a/1989/roemer/Makefile +++ b/1989/roemer/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ - -Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes + -Wno-string-plus-int -Wno-unused-value -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile index a838eb34f..197a487a7 100644 --- a/1989/tromp/Makefile +++ b/1989/tromp/Makefile @@ -41,7 +41,7 @@ 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-shorten-64-to-32 -Wno-int-conversion -Wno-implicit-int # Common C compiler warning flags # diff --git a/1989/vanb/Makefile b/1989/vanb/Makefile index b8b9077b8..a3ca47e04 100644 --- a/1989/vanb/Makefile +++ b/1989/vanb/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1989/westley/Makefile b/1989/westley/Makefile index 6ebc910bd..6b0f3f582 100644 --- a/1989/westley/Makefile +++ b/1989/westley/Makefile @@ -42,7 +42,9 @@ CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \ -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \ -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-implicit-int -Wno-missing-parameter-type -Wno-pointer-to-int-cast \ + -Wno-conditional-type-mismatch -Wno-non-literal-null-conversion \ + -Wno-unknown-warning-option # Common C compiler warning flags # diff --git a/1990/cmills/Makefile b/1990/cmills/Makefile index d50a59d63..1a6c1e347 100644 --- a/1990/cmills/Makefile +++ b/1990/cmills/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # 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-unused-value -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1990/jaw/Makefile b/1990/jaw/Makefile index 60f76457a..553d02a71 100644 --- a/1990/jaw/Makefile +++ b/1990/jaw/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-logical-op-parentheses -Wno-parentheses -Wno-return-type \ - -Wno-shift-op-parentheses -Wno-deprecated-non-prototype + -Wno-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1990/pjr/Makefile b/1990/pjr/Makefile index 9010f16e2..ac6bdd8fb 100644 --- a/1990/pjr/Makefile +++ b/1990/pjr/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-strict-prototypes +CSILENCE= -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile index 0138688de..d0f62f51c 100644 --- a/1990/scjones/Makefile +++ b/1990/scjones/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \ - -Wno-pedantic -Wno-strict-prototypes + -Wno-pedantic -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1990/tbr/Makefile b/1990/tbr/Makefile index c2dd73e2f..8891adb47 100644 --- a/1990/tbr/Makefile +++ b/1990/tbr/Makefile @@ -87,7 +87,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-unreachable-code -Wno-disabled-macro-expansion # CWARN+= -Weverything # diff --git a/1990/westley/Makefile b/1990/westley/Makefile index 9e796ed3d..0994df9b5 100644 --- a/1990/westley/Makefile +++ b/1990/westley/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \ - -Wno-uninitialized + -Wno-uninitialized -Wno-implicit-int # Common C compiler warning flags # diff --git a/1991/ant/Makefile b/1991/ant/Makefile index a239363d6..86e6e6f60 100644 --- a/1991/ant/Makefile +++ b/1991/ant/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \ -Wno-implicit-function-declaration -Wno-return-type \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1991/brnstnd/Makefile b/1991/brnstnd/Makefile index f86ae4779..a958c96b0 100644 --- a/1991/brnstnd/Makefile +++ b/1991/brnstnd/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-c99-extensions -Wno-error -Wno-implicit-function-declaration \ - -Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value + -Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1991/davidguy/Makefile b/1991/davidguy/Makefile index ce712d773..0c55d7219 100644 --- a/1991/davidguy/Makefile +++ b/1991/davidguy/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \ - -Wno-deprecated-non-prototype -Wno-implicit-int + -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-deprecated-declarations \ + -Wno-incompatible-pointer-types # Common C compiler warning flags # diff --git a/1991/dds/Makefile b/1991/dds/Makefile index d742e32fa..0e9df7f46 100644 --- a/1991/dds/Makefile +++ b/1991/dds/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \ - -Wno-error -Wno-implicit-function-declaration + -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int # Common C compiler warning flags # diff --git a/1991/fine/Makefile b/1991/fine/Makefile index 37af8b85c..3f18ce9a9 100644 --- a/1991/fine/Makefile +++ b/1991/fine/Makefile @@ -95,7 +95,7 @@ endif # ifeq "$(findstring $(GCC),${CC})" "$(GCC)" # -CSILENCE+= -Wno-missing-parameter-type +CSILENCE+= -Wno-missing-parameter-type -Wno-unknown-warning-option # #CWARN+= # diff --git a/1991/rince/Makefile b/1991/rince/Makefile index e36a30b83..7b6ec58bc 100644 --- a/1991/rince/Makefile +++ b/1991/rince/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1991/westley/Makefile b/1991/westley/Makefile index 7a854c017..4bede3a6b 100644 --- a/1991/westley/Makefile +++ b/1991/westley/Makefile @@ -40,7 +40,7 @@ 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-missing-braces -Wno-implicit-int # Common C compiler warning flags # diff --git a/1992/albert/Makefile b/1992/albert/Makefile index eba77161a..072cfeeca 100644 --- a/1992/albert/Makefile +++ b/1992/albert/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int -Wno-logical-op-parentheses \ + -Wno-parentheses-equality -Wno-return-type # Common C compiler warning flags # @@ -84,7 +85,8 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 +CSILENCE+= -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-comma \ + -Wno-missing-prototypes -Wno-missing-variable-declarations # CWARN+= -Weverything # diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile index eaec349e5..dcd7c006d 100644 --- a/1992/buzzard.2/Makefile +++ b/1992/buzzard.2/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ - -Wno-return-type -Wno-deprecated-non-prototype + -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1992/imc/Makefile b/1992/imc/Makefile index e49ac1e52..76d5eeef2 100644 --- a/1992/imc/Makefile +++ b/1992/imc/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # @@ -87,7 +87,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-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-disabled-macro-expansion # CWARN+= -Weverything # diff --git a/1992/kivinen/Makefile b/1992/kivinen/Makefile index 771156378..4a441b85a 100644 --- a/1992/kivinen/Makefile +++ b/1992/kivinen/Makefile @@ -86,7 +86,8 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-comma \ - -Wno-conditional-uninitialized -Wno-sign-conversion + -Wno-conditional-uninitialized -Wno-sign-conversion \ + -Wno-disabled-macro-expansion # CWARN+= -Weverything # diff --git a/1992/lush/Makefile b/1992/lush/Makefile index ef018df37..943417d10 100644 --- a/1992/lush/Makefile +++ b/1992/lush/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-implicit-int -Wno-macro-redefined # Common C compiler warning flags # diff --git a/1992/vern/Makefile b/1992/vern/Makefile index 03bc1c5f2..3eec12e3c 100644 --- a/1992/vern/Makefile +++ b/1992/vern/Makefile @@ -88,7 +88,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-shadow -Wno-strict-prototypes -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/1993/jonth/Makefile b/1993/jonth/Makefile index 0d437c750..197093f4f 100644 --- a/1993/jonth/Makefile +++ b/1993/jonth/Makefile @@ -42,7 +42,7 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-pointer-types -Wno-int-conversion \ -Wno-c99-extensions -Wno-deprecated-declarations \ -Wno-deprecated-non-prototype -Wno-format -Wno-pedantic -Wno-return-type \ - -Wno-strict-prototypes -Wno-unused-variable + -Wno-strict-prototypes -Wno-unused-variable -Wno-implicit-int # Common C compiler warning flags # diff --git a/1993/rince/Makefile b/1993/rince/Makefile index a0db231d5..56c80c68c 100644 --- a/1993/rince/Makefile +++ b/1993/rince/Makefile @@ -87,7 +87,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-padded \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-unreachable-code-loop-increment + -Wno-unreachable-code-loop-increment -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/1993/schnitzi/Makefile b/1993/schnitzi/Makefile index 0c5b04514..74a230d3f 100644 --- a/1993/schnitzi/Makefile +++ b/1993/schnitzi/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype +CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1994/dodsond1/Makefile b/1994/dodsond1/Makefile index 8831e54d2..9b5561f8e 100644 --- a/1994/dodsond1/Makefile +++ b/1994/dodsond1/Makefile @@ -40,7 +40,7 @@ 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-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1994/horton/Makefile b/1994/horton/Makefile index 00ae26c5e..c870d5af5 100644 --- a/1994/horton/Makefile +++ b/1994/horton/Makefile @@ -40,7 +40,7 @@ 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-unused-variable -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1994/ldb/Makefile b/1994/ldb/Makefile index 2f5610f4f..fb95ffb5b 100644 --- a/1994/ldb/Makefile +++ b/1994/ldb/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-implicit-int -Wno-int-to-pointer-cast # Common C compiler warning flags # diff --git a/1994/schnitzi/Makefile b/1994/schnitzi/Makefile index 21f85116b..4305a0062 100644 --- a/1994/schnitzi/Makefile +++ b/1994/schnitzi/Makefile @@ -85,7 +85,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shorten-64-to-32 + -Wno-shorten-64-to-32 -Wno-comma # CWARN+= -Weverything # diff --git a/1994/tvr/Makefile b/1994/tvr/Makefile index 04829355e..89ef9fa28 100644 --- a/1994/tvr/Makefile +++ b/1994/tvr/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main-return-type \ -Wno-sign-compare -Wno-string-plus-int -Wno-unsequenced -Wno-unused-variable \ - -Wno-incompatible-pointer-types -Wno-strict-prototypes + -Wno-incompatible-pointer-types -Wno-strict-prototypes -Wno-pointer-sign # Common C compiler warning flags # diff --git a/1994/westley/Makefile b/1994/westley/Makefile index fb2c42063..1d9c280d2 100644 --- a/1994/westley/Makefile +++ b/1994/westley/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-poison-system-directories -Wno-undef +CSILENCE= -Wno-poison-system-directories -Wno-undef -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1995/cdua/Makefile b/1995/cdua/Makefile index f8ddfbe0f..5a535dd05 100644 --- a/1995/cdua/Makefile +++ b/1995/cdua/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \ - -Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes + -Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes \ + -Wno-implicit-int -Wno-unused-parameter # Common C compiler warning flags # diff --git a/1995/dodsond1/Makefile b/1995/dodsond1/Makefile index b9101467d..75a798ccd 100644 --- a/1995/dodsond1/Makefile +++ b/1995/dodsond1/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1995/esde/Makefile b/1995/esde/Makefile index 69d3a9f7c..3775e699a 100644 --- a/1995/esde/Makefile +++ b/1995/esde/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # 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-sign-compare -Wno-uninitialized -Wno-unsequenced -Wno-implicit-int # Common C compiler warning flags # diff --git a/1995/garry/Makefile b/1995/garry/Makefile index 0935f8974..474f34e4f 100644 --- a/1995/garry/Makefile +++ b/1995/garry/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \ - -Wno-unused-variable + -Wno-unused-variable -Wno-implicit-int # Common C compiler warning flags # diff --git a/1995/makarios/Makefile b/1995/makarios/Makefile index 043dacef6..a6c532741 100644 --- a/1995/makarios/Makefile +++ b/1995/makarios/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-int-conversion -Wno-implicit-int -Wno-return-type + -Wno-int-conversion -Wno-implicit-int -Wno-return-type \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -84,7 +85,7 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-pedantic -Wno-poison-system-directories +CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/1995/schnitzi/Makefile b/1995/schnitzi/Makefile index ec5b04ee5..29f1ee18a 100644 --- a/1995/schnitzi/Makefile +++ b/1995/schnitzi/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \ - -Wno-logical-op-parentheses -Wno-deprecated-non-prototype + -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1995/spinellis/Makefile b/1995/spinellis/Makefile index bc66eb9f7..a48e05071 100644 --- a/1995/spinellis/Makefile +++ b/1995/spinellis/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-strict-prototypes +CSILENCE= -Wno-empty-body -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1995/vanschnitz/.gitignore b/1995/vanschnitz/.gitignore index 199e25080..55aed4c5c 100644 --- a/1995/vanschnitz/.gitignore +++ b/1995/vanschnitz/.gitignore @@ -6,4 +6,5 @@ indent.c indent.o prog.orig vanschnitz +vanschnitz.alt vanschnitz.orig diff --git a/1996/huffman/Makefile b/1996/huffman/Makefile index e2d879112..23f970d13 100644 --- a/1996/huffman/Makefile +++ b/1996/huffman/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-deprecated-declarations -Wno-implicit-int # Common C compiler warning flags # diff --git a/1996/jonth/Makefile b/1996/jonth/Makefile index bd515dfe7..d4600e218 100644 --- a/1996/jonth/Makefile +++ b/1996/jonth/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-infinite-recursion -Wno-return-type -Wno-string-plus-int \ - -Wno-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype + -Wno-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1996/rcm/Makefile b/1996/rcm/Makefile index d68fe7cc2..60fc8fd74 100644 --- a/1996/rcm/Makefile +++ b/1996/rcm/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes +CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes \ + -Wno-implicit-int # Common C compiler warning flags # diff --git a/1996/schweikh3/Makefile b/1996/schweikh3/Makefile index 0ec34ebdf..312675901 100644 --- a/1996/schweikh3/Makefile +++ b/1996/schweikh3/Makefile @@ -84,7 +84,7 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-date-time -Wno-double-promotion \ - -Wno-poison-system-directories -Wno-unreachable-code + -Wno-poison-system-directories -Wno-unreachable-code -Wno-c99-compat # CWARN+= -Weverything # diff --git a/1998/bas1/Makefile b/1998/bas1/Makefile index 89ef17ccb..c1888fac1 100644 --- a/1998/bas1/Makefile +++ b/1998/bas1/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # 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-shift-op-parentheses -Wno-deprecated-non-prototype -Wno-implicit-int \ + -Wno-unused-parameter # Common C compiler warning flags # diff --git a/1998/bas2/Makefile b/1998/bas2/Makefile index 06c0e3b53..901eb4243 100644 --- a/1998/bas2/Makefile +++ b/1998/bas2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-main -Wno-deprecated-non-prototype +CSILENCE= -Wno-main -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/1998/dorssel/Makefile b/1998/dorssel/Makefile index 8afb6f388..50b219a0a 100644 --- a/1998/dorssel/Makefile +++ b/1998/dorssel/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-shift-op-parentheses -Wno-strict-prototypes + -Wno-shift-op-parentheses -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # diff --git a/1998/fanf/Makefile b/1998/fanf/Makefile index 705d3b778..2ee619d77 100644 --- a/1998/fanf/Makefile +++ b/1998/fanf/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main -Wno-implicit-function-declaration \ - -Wno-int-conversion + -Wno-int-conversion -Wno-gnu-line-marker # Common C compiler warning flags # diff --git a/1998/schnitzi/Makefile b/1998/schnitzi/Makefile index 34394684f..0efc9fbb5 100644 --- a/1998/schnitzi/Makefile +++ b/1998/schnitzi/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # 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-incompatible-pointer-types -Wno-implicit-int -Wno-unused-value \ + -Wno-logical-op-parentheses # Common C compiler warning flags # @@ -88,7 +89,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" 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-cast-align + -Wno-cast-align -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/1998/schweikh3/Makefile b/1998/schweikh3/Makefile index 9d851189b..0828a2fbb 100644 --- a/1998/schweikh3/Makefile +++ b/1998/schweikh3/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-trigraphs +CSILENCE= -Wno-trigraphs -Wno-deprecated-non-prototype -Wno-unused-parameter # Common C compiler warning flags # diff --git a/2000/thadgavin/Makefile b/2000/thadgavin/Makefile index 40aa01cd3..799a65ed4 100644 --- a/2000/thadgavin/Makefile +++ b/2000/thadgavin/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \ - -Wno-deprecated-non-prototype -Wno-unused-parameter + -Wno-deprecated-non-prototype -Wno-unused-parameter \ + -Wno-incompatible-pointer-types # Common C compiler warning flags # @@ -90,7 +91,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-padded # CWARN+= -Weverything # diff --git a/2000/tomx/Makefile b/2000/tomx/Makefile index c9d63100d..00d29bd59 100644 --- a/2000/tomx/Makefile +++ b/2000/tomx/Makefile @@ -83,7 +83,9 @@ CC= cc # ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-conditional-uninitialized \ + -Wno-implicit-int-conversion -Wno-missing-noreturn \ + -Wno-missing-variable-declarations -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/2001/ctk/Makefile b/2001/ctk/Makefile index 4a49c6a88..2bdbe655c 100644 --- a/2001/ctk/Makefile +++ b/2001/ctk/Makefile @@ -86,7 +86,8 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # 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-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \ + -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/2004/jdalbec/Makefile b/2004/jdalbec/Makefile index 04b6b0227..6cc61673a 100644 --- a/2004/jdalbec/Makefile +++ b/2004/jdalbec/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-int-to-pointer-cast -Wno-int-to-void-pointer-cast -Wno-trigraphs \ - -Wno-unused-value + -Wno-unused-value -Wno-gnu-line-marker # Common C compiler warning flags # diff --git a/2004/kopczynski/Makefile b/2004/kopczynski/Makefile index c511868e8..1c6ac98e5 100644 --- a/2004/kopczynski/Makefile +++ b/2004/kopczynski/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-main -Wno-parentheses -Wno-deprecated-non-prototype + -Wno-main -Wno-parentheses -Wno-deprecated-non-prototype \ + -Wno-unused-parameter # Common C compiler warning flags # diff --git a/2005/jetro/Makefile b/2005/jetro/Makefile index 5cf8f3ba3..8dffe3500 100644 --- a/2005/jetro/Makefile +++ b/2005/jetro/Makefile @@ -86,7 +86,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-padded \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ - -Wno-unused-macros + -Wno-unused-macros -Wno-documentation-unknown-command # CWARN+= -Weverything # diff --git a/2005/toledo/Makefile b/2005/toledo/Makefile index 80f8e4bef..7a55748ae 100644 --- a/2005/toledo/Makefile +++ b/2005/toledo/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-parentheses -Wno-int-conversion -Wno-unsequenced + -Wno-parentheses -Wno-int-conversion -Wno-unsequenced -Wno-return-type # Common C compiler warning flags # @@ -85,7 +85,8 @@ CC= cc 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-variable-declarations -Wno-poison-system-directories \ + -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/2012/tromp/Makefile b/2012/tromp/Makefile index a4fb5c502..23d8cd36e 100644 --- a/2012/tromp/Makefile +++ b/2012/tromp/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch -Wno-error \ -Wno-implicit-function-declaration -Wno-incompatible-pointer-types \ -Wno-int-conversion -Wno-main -Wno-return-type -Wno-unused-parameter \ - -Wno-deprecated-non-prototype + -Wno-deprecated-non-prototype -Wno-implicit-int # Common C compiler warning flags # diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 80bca18a0..085373e6e 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -94,7 +94,7 @@ CSILENCE+= -Wno-cast-align -Wno-comma -Wno-dollar-in-identifier-extension \ -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-padded -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/2013/hou/Makefile b/2013/hou/Makefile index 8bc8832a9..0df0f6d3f 100644 --- a/2013/hou/Makefile +++ b/2013/hou/Makefile @@ -84,7 +84,9 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-shorten-64-to-32 + -Wno-poison-system-directories -Wno-shorten-64-to-32 \ + -Wno-float-conversion -Wno-format-nonliteral -Wno-missing-prototypes \ + -Wno-shadow -Wno-shift-sign-overflow # CWARN+= -Weverything # diff --git a/2014/maffiodo2/.gitignore b/2014/maffiodo2/.gitignore index 865dae077..4448449c2 100644 --- a/2014/maffiodo2/.gitignore +++ b/2014/maffiodo2/.gitignore @@ -5,4 +5,5 @@ indent indent.c indent.o prog +prog.alt prog.orig diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile index 232336cb3..ba90f25a5 100644 --- a/2018/bellard/Makefile +++ b/2018/bellard/Makefile @@ -40,7 +40,8 @@ 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-deprecated-non-prototype + -Wno-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype \ + -Wno-unused-parameter # Common C compiler warning flags # diff --git a/2018/giles/Makefile b/2018/giles/Makefile index 687d7d6a2..468ecdac5 100644 --- a/2018/giles/Makefile +++ b/2018/giles/Makefile @@ -84,7 +84,8 @@ CC= cc ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)" # CSILENCE+= -Wno-poison-system-directories -Wno-float-conversion -Wno-missing-prototypes \ - -Wno-missing-variable-declarations -Wno-padded -Wno-declaration-after-statement + -Wno-missing-variable-declarations -Wno-padded -Wno-declaration-after-statement \ + -Wno-documentation-unknown-command # CWARN+= -Weverything # diff --git a/2020/ferguson2/Makefile b/2020/ferguson2/Makefile index e48535340..6f779651d 100644 --- a/2020/ferguson2/Makefile +++ b/2020/ferguson2/Makefile @@ -85,7 +85,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-shorten-64-to-32 -Wno-shadow # CWARN+= -Weverything #