From b6330673ccc7ef04bb348a68e07bae0a6218dac2 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 8 Jul 2023 05:05:50 -0700 Subject: [PATCH] Restore silencing warnings in macOS As besides the entries that are not supposed to compile/cannot compile due to architectural limitations all the entries can compile in macOS (though some do not work - yet(? I have plans to work on more later)) it was not necessary to not silence the warnings after all as the entries that don't work will be easy to identify ('they don't work' :-) ) so I can just do make CSILENCE= all in the directory of those entries which solves the problem I had originally thought of. Some of the Makefiles have retained other changes I had to make yesterday to get the entries to work with clang in linux but most of them were either not changed or were made better with the rollback of the commit that originally silenced warnings. Now work on silencing warnings for linux can be done. --- 1984/decot/Makefile | 8 ++++++-- 1984/laman/Makefile | 3 ++- 1984/mullender/Makefile | 5 +++-- 1985/applin/Makefile | 3 ++- 1985/august/Makefile | 2 +- 1985/lycklama/Makefile | 2 +- 1985/shapiro/Makefile | 2 +- 1985/sicherman/Makefile | 6 ++++-- 1986/applin/Makefile | 3 ++- 1986/august/Makefile | 3 ++- 1986/bright/Makefile | 2 +- 1986/hague/Makefile | 3 ++- 1986/holloway/Makefile | 5 +++-- 1986/marshall/Makefile | 6 ++++-- 1986/pawka/Makefile | 2 +- 1986/stein/Makefile | 3 ++- 1986/wall/Makefile | 7 +++++-- 1987/biggar/Makefile | 3 ++- 1987/heckbert/Makefile | 2 +- 1987/hines/Makefile | 2 +- 1987/korn/Makefile | 2 +- 1987/lievaart/Makefile | 3 ++- 1987/wall/Makefile | 3 ++- 1987/westley/Makefile | 6 ++++-- 1988/applin/Makefile | 2 +- 1988/dale/Makefile | 7 +++++-- 1988/isaak/Makefile | 2 +- 1988/litmaath/Makefile | 3 ++- 1988/phillipps/Makefile | 6 ++++-- 1988/reddy/Makefile | 2 +- 1988/robison/Makefile | 2 +- 1988/westley/Makefile | 3 ++- 1989/jar.2/Makefile | 7 +++++-- 1989/ovdluhe/Makefile | 3 ++- 1989/paul/Makefile | 2 +- 1989/robison/Makefile | 5 +++-- 1989/roemer/Makefile | 2 +- 1989/tromp/Makefile | 6 ++++-- 1989/vanb/Makefile | 3 ++- 1989/westley/Makefile | 4 +++- 1990/baruch/Makefile | 2 +- 1990/cmills/Makefile | 5 +++-- 1990/dds/Makefile | 7 +++++-- 1990/dg/Makefile | 5 +++-- 1990/jaw/Makefile | 2 +- 1990/pjr/Makefile | 2 +- 1990/scjones/Makefile | 6 ++++-- 1990/tbr/Makefile | 5 +++-- 1990/theorem/Makefile | 5 +++-- 1990/westley/Makefile | 8 ++++++-- 1991/ant/Makefile | 3 ++- 1991/brnstnd/Makefile | 5 +++-- 1991/buzzard/Makefile | 3 ++- 1991/cdupont/Makefile | 2 +- 1991/davidguy/Makefile | 3 ++- 1991/dds/Makefile | 9 +++++---- 1991/rince/Makefile | 3 ++- 1991/westley/Makefile | 3 ++- 1992/adrian/Makefile | 6 ++++-- 1992/albert/Makefile | 3 ++- 1992/ant/Makefile | 3 ++- 1992/buzzard.1/Makefile | 2 +- 1992/buzzard.2/Makefile | 2 +- 1992/gson/Makefile | 3 ++- 1992/imc/Makefile | 6 ++++-- 1992/kivinen/Makefile | 2 +- 1992/lush/Makefile | 3 ++- 1992/marangon/Makefile | 2 +- 1992/nathan/Makefile | 4 ++-- 1992/vern/Makefile | 2 +- 1992/westley/Makefile | 4 ++-- 1993/ant/Makefile | 3 ++- 1993/cmills/Makefile | 2 +- 1993/jonth/Makefile | 8 ++++++-- 1993/lmfjyh/Makefile | 2 +- 1993/plummer/Makefile | 3 ++- 1993/schnitzi/Makefile | 2 +- 1993/vanb/Makefile | 5 +++-- 1994/dodsond1/Makefile | 3 ++- 1994/dodsond2/Makefile | 3 ++- 1994/horton/Makefile | 2 +- 1994/imc/Makefile | 3 ++- 1994/ldb/Makefile | 6 ++++-- 1994/schnitzi/Makefile | 3 ++- 1994/shapiro/Makefile | 3 ++- 1994/tvr/Makefile | 4 ++-- 1994/weisberg/Makefile | 2 +- 1994/westley/Makefile | 2 +- 1995/cdua/Makefile | 6 ++++-- 1995/dodsond1/Makefile | 3 ++- 1995/dodsond2/Makefile | 3 ++- 1995/garry/Makefile | 3 ++- 1995/savastio/Makefile | 2 +- 1995/schnitzi/Makefile | 2 +- 1995/spinellis/Makefile | 2 +- 1995/vanschnitz/Makefile | 2 +- 1996/august/Makefile | 3 ++- 1996/eldby/Makefile | 2 +- 1996/gandalf/Makefile | 5 +++-- 1996/huffman/Makefile | 3 ++- 1996/jonth/Makefile | 2 +- 1996/rcm/Makefile | 2 +- 1996/westley/Makefile | 2 +- 1998/banks/Makefile | 3 ++- 1998/bas1/Makefile | 2 +- 1998/bas2/Makefile | 2 +- 1998/df/Makefile | 5 +++-- 1998/dlowe/Makefile | 2 +- 1998/dorssel/Makefile | 2 +- 1998/schnitzi/Makefile | 6 ++++-- 1998/schweikh1/Makefile | 2 +- 1998/schweikh2/Makefile | 3 ++- 1998/schweikh3/Makefile | 3 ++- 2000/anderson/Makefile | 3 ++- 2000/bellard/Makefile | 2 +- 2000/bmeyer/Makefile | 2 +- 2000/briddlebane/Makefile | 5 +++-- 2000/dhyang/Makefile | 3 ++- 2000/jarijyrki/Makefile | 3 ++- 2000/natori/Makefile | 2 +- 2000/rince/Makefile | 2 +- 2000/robison/Makefile | 2 +- 2000/schneiderwent/Makefile | 3 ++- 2000/thadgavin/Makefile | 3 ++- 2000/tomx/Makefile | 2 +- 2001/anonymous/Makefile | 5 +++-- 2001/bellard/Makefile | 5 +++-- 2001/cheong/Makefile | 2 +- 2001/coupard/Makefile | 2 +- 2001/dgbeards/Makefile | 4 ++-- 2001/herrmann2/Makefile | 7 +++++-- 2001/jason/Makefile | 2 +- 2001/rosten/Makefile | 3 ++- 2001/westley/Makefile | 3 ++- 2001/williams/Makefile | 2 +- 2004/burley/Makefile | 4 +++- 2004/gavare/Makefile | 2 +- 2004/hibachi/Makefile | 4 +++- 2004/hoyle/Makefile | 2 +- 2004/kopczynski/Makefile | 2 +- 2004/newbern/Makefile | 3 ++- 2004/omoikane/Makefile | 2 +- 2004/schnitzi/Makefile | 2 +- 2004/sds/Makefile | 2 +- 2004/vik2/Makefile | 2 +- 2005/aidan/Makefile | 2 +- 2005/boutines/Makefile | 2 +- 2005/chia/Makefile | 2 +- 2005/giljade/Makefile | 5 +++-- 2005/mikeash/Makefile | 2 +- 2005/sykes/Makefile | 2 +- 2005/vince/Makefile | 5 +++-- 2006/birken/Makefile | 2 +- 2006/meyer/Makefile | 2 +- 2006/monge/Makefile | 3 +-- 2006/night/Makefile | 4 ++-- 2006/sloane/Makefile | 3 ++- 2006/sykes2/Makefile | 2 +- 2006/toledo1/Makefile | 2 +- 2006/toledo2/Makefile | 2 +- 2006/toledo3/Makefile | 2 +- 2011/akari/Makefile | 3 ++- 2011/borsanyi/Makefile | 2 +- 2011/dlowe/Makefile | 2 +- 2011/eastman/Makefile | 4 ++-- 2011/goren/Makefile | 2 +- 2011/hamaji/Makefile | 2 +- 2011/konno/Makefile | 2 +- 2011/richards/Makefile | 5 +++-- 2011/toledo/Makefile | 3 ++- 2011/zucker/Makefile | 2 +- 2012/blakely/Makefile | 3 ++- 2012/deckmyn/Makefile | 3 ++- 2012/dlowe/Makefile | 2 +- 2012/endoh1/Makefile | 2 +- 2012/endoh2/Makefile | 4 ++-- 2012/hou/Makefile | 2 +- 2012/kang/Makefile | 3 ++- 2012/konno/Makefile | 2 +- 2012/omoikane/Makefile | 2 +- 2012/tromp/Makefile | 3 ++- 2013/birken/Makefile | 2 +- 2013/cable3/Makefile | 3 ++- 2013/dlowe/Makefile | 2 +- 2013/endoh1/Makefile | 2 +- 2013/endoh2/Makefile | 5 +++-- 2013/endoh3/Makefile | 2 +- 2013/hou/Makefile | 2 +- 2013/mills/Makefile | 2 +- 2013/misaka/Makefile | 2 +- 2013/morgan1/Makefile | 3 ++- 2013/morgan2/Makefile | 2 +- 2014/deak/Makefile | 2 +- 2014/endoh1/Makefile | 2 +- 2014/maffiodo1/Makefile | 6 ++++-- 2014/maffiodo2/Makefile | 2 +- 2014/morgan/Makefile | 3 ++- 2014/sinon/Makefile | 2 +- 2014/skeggs/Makefile | 4 ++-- 2014/wiedijk/Makefile | 2 +- 2015/burton/Makefile | 3 ++- 2015/dogon/Makefile | 4 ++-- 2015/duble/Makefile | 2 +- 2015/endoh1/Makefile | 2 +- 2015/endoh2/Makefile | 3 ++- 2015/endoh3/Makefile | 2 +- 2015/endoh4/Makefile | 2 +- 2015/hou/Makefile | 2 +- 2015/howe/Makefile | 2 +- 2015/mills1/Makefile | 3 ++- 2015/muth/Makefile | 2 +- 2015/yang/Makefile | 3 ++- 2018/algmyr/Makefile | 3 ++- 2018/anderson/Makefile | 2 +- 2018/bellard/Makefile | 2 +- 2018/burton1/Makefile | 2 +- 2018/ciura/Makefile | 2 +- 2018/endoh1/Makefile | 2 +- 2018/endoh2/Makefile | 4 ++-- 2018/ferguson/Makefile | 2 +- 2018/giles/Makefile | 2 +- 2018/hou/Makefile | 2 +- 2018/mills/Makefile | 3 ++- 2018/poikola/Makefile | 4 ++-- 2018/vokes/Makefile | 2 +- 2018/yang/Makefile | 2 +- 2019/adamovsky/Makefile | 3 ++- 2019/burton/Makefile | 2 +- 2019/ciura/Makefile | 2 +- 2019/dogon/Makefile | 5 +++-- 2019/duble/Makefile | 4 +++- 2019/endoh/Makefile | 2 +- 2019/giles/Makefile | 4 ++-- 2019/karns/Makefile | 4 ++-- 2019/lynn/Makefile | 5 ++--- 2019/mills/Makefile | 5 +++-- 2019/poikola/Makefile | 2 +- 2019/yang/Makefile | 2 +- 2020/carlini/Makefile | 2 +- 2020/endoh1/Makefile | 2 +- 2020/endoh2/Makefile | 2 +- 2020/endoh3/Makefile | 2 +- 2020/ferguson1/Makefile | 3 ++- 2020/ferguson2/Makefile | 4 ++-- 2020/giles/Makefile | 3 ++- 2020/kurdyukov1/Makefile | 2 +- 2020/kurdyukov3/Makefile | 4 ++-- 2020/kurdyukov4/Makefile | 2 +- 2020/otterness/Makefile | 2 +- 2020/tsoj/Makefile | 4 ++-- 250 files changed, 454 insertions(+), 312 deletions(-) diff --git a/1984/decot/Makefile b/1984/decot/Makefile index d6709ab28..3ff473135 100644 --- a/1984/decot/Makefile +++ b/1984/decot/Makefile @@ -40,7 +40,9 @@ include ../../var.mk # CSILENCE= -Wno-array-bounds -Wno-error -Wno-implicit-function-declaration \ -Wno-keyword-macro -Wno-main-return-type -Wno-missing-field-initializers \ - -Wno-unused-value -Wno-unused-variable + -Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \ + -Wno-empty-body -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-main \ + -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-label # Common C compiler warning flags # @@ -86,7 +88,9 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-cast-function-type -Wno-float-conversion -Wno-padded \ + -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/1984/laman/Makefile b/1984/laman/Makefile index 72c808fcf..e79262586 100644 --- a/1984/laman/Makefile +++ b/1984/laman/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1984/mullender/Makefile b/1984/mullender/Makefile index f1fab7dff..2447a5fdc 100644 --- a/1984/mullender/Makefile +++ b/1984/mullender/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-main +CSILENCE= -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -83,7 +83,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ + -Wno-pedantic -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/1985/applin/Makefile b/1985/applin/Makefile index d0f1abe41..6d7787a68 100644 --- a/1985/applin/Makefile +++ b/1985/applin/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1985/august/Makefile b/1985/august/Makefile index e76bcd227..4c04ff980 100644 --- a/1985/august/Makefile +++ b/1985/august/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-main \ - -Wno-unused-parameter -Wno-unused-variable + -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1985/lycklama/Makefile b/1985/lycklama/Makefile index 408c5e08c..7a0d44dc3 100644 --- a/1985/lycklama/Makefile +++ b/1985/lycklama/Makefile @@ -85,7 +85,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-implicit-int-conversion -Wno-poison-system-directories \ - -Wno-unused-macros + -Wno-unused-macros -Wno-strict-prototypes # CWARN+= -Weverything # diff --git a/1985/shapiro/Makefile b/1985/shapiro/Makefile index db2172a0b..37e8b297e 100644 --- a/1985/shapiro/Makefile +++ b/1985/shapiro/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-parentheses -Wno-string-plus-int + -Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile index 3ff5c547d..b7495948d 100644 --- a/1985/sicherman/Makefile +++ b/1985/sicherman/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-comment +CSILENCE= -Wno-comment -Wno-deprecated-non-prototype -Wno-main -Wno-pedantic \ + -Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter # Common C compiler warning flags # @@ -83,7 +84,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1986/applin/Makefile b/1986/applin/Makefile index 60b105f59..4ae974b67 100644 --- a/1986/applin/Makefile +++ b/1986/applin/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-error \ - -Wno-implicit-function-declaration -Wno-implicit-int + -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1986/august/Makefile b/1986/august/Makefile index 6e892c6ae..6e5924207 100644 --- a/1986/august/Makefile +++ b/1986/august/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-return-type -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1986/bright/Makefile b/1986/bright/Makefile index ae8b32fdf..2ad0ca59a 100644 --- a/1986/bright/Makefile +++ b/1986/bright/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-implicit-int -Wno-unknown-escape-sequence -Wno-unused-value \ - -Wno-sign-compare + -Wno-sign-compare -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1986/hague/Makefile b/1986/hague/Makefile index 3698b59ff..90522960c 100644 --- a/1986/hague/Makefile +++ b/1986/hague/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-incompatible-library-redeclaration -Wno-return-type + -Wno-incompatible-library-redeclaration -Wno-return-type \ + -Wno-deprecated-declarations -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1986/holloway/Makefile b/1986/holloway/Makefile index 9821a8ee1..80c795f5d 100644 --- a/1986/holloway/Makefile +++ b/1986/holloway/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-format-security -Wno-implicit-int -Wno-int-to-pointer-cast \ - -Wno-pointer-to-int-cast + -Wno-pointer-to-int-cast -Wno-deprecated-non-prototype \ + -Wno-incompatible-pointer-types # Common C compiler warning flags # @@ -85,7 +86,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-shadow + -Wno-poison-system-directories -Wno-shadow -Wno-implicit-int-conversion # CWARN+= -Weverything # diff --git a/1986/marshall/Makefile b/1986/marshall/Makefile index d9068b441..3291ed941 100644 --- a/1986/marshall/Makefile +++ b/1986/marshall/Makefile @@ -40,7 +40,9 @@ include ../../var.mk # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-int-conversion -Wno-parentheses -Wno-shift-negative-value \ - -Wno-string-compare -Wno-unsequenced -Wno-unused-value + -Wno-string-compare -Wno-unsequenced -Wno-unused-value \ + -Wno-deprecated-non-prototype -Wno-pointer-to-int-cast -Wno-return-type \ + -Wno-strict-prototypes -Wno-uninitialized -Wno-unused-parameter # Common C compiler warning flags # @@ -86,7 +88,7 @@ CC= cc ifeq ($(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-unreachable-code # CWARN+= -Weverything # diff --git a/1986/pawka/Makefile b/1986/pawka/Makefile index 058d6c30b..61ec69fb0 100644 --- a/1986/pawka/Makefile +++ b/1986/pawka/Makefile @@ -57,7 +57,7 @@ ARCH= # Defines that are needed to compile # -CDEFINE= +CDEFINE= -Wno-strict-prototypes # Include files that are needed to compile # diff --git a/1986/stein/Makefile b/1986/stein/Makefile index 4556f0955..fc0681611 100644 --- a/1986/stein/Makefile +++ b/1986/stein/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-int-conversion -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1986/wall/Makefile b/1986/wall/Makefile index fdf429fbc..fd6aafdde 100644 --- a/1986/wall/Makefile +++ b/1986/wall/Makefile @@ -39,7 +39,9 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-macro-redefined -Wno-parentheses -Wno-c99-extensions + -Wno-macro-redefined -Wno-parentheses -Wno-c99-extensions \ + -Wno-declaration-after-statement -Wno-deprecated-non-prototype \ + -Wno-strict-prototypes -Wno-string-plus-char # Common C compiler warning flags # @@ -86,7 +88,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypess \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-missing-prototypes -Wno-unknown-warning-option \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1987/biggar/Makefile b/1987/biggar/Makefile index 79ba112fa..b8411984d 100644 --- a/1987/biggar/Makefile +++ b/1987/biggar/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-semi \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile index b8bb82836..2848b8962 100644 --- a/1987/heckbert/Makefile +++ b/1987/heckbert/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-implicit-int \ - -Wno-int-to-pointer-cast -Wno-logical-op-parentheses + -Wno-int-to-pointer-cast -Wno-logical-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1987/hines/Makefile b/1987/hines/Makefile index bea8135e1..3a1b3ad54 100644 --- a/1987/hines/Makefile +++ b/1987/hines/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1987/korn/Makefile b/1987/korn/Makefile index 2447181b0..a1c1c67ff 100644 --- a/1987/korn/Makefile +++ b/1987/korn/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int -Dunix=1 \ - -Wno-string-plus-int + -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1987/lievaart/Makefile b/1987/lievaart/Makefile index 7ec980818..a36742279 100644 --- a/1987/lievaart/Makefile +++ b/1987/lievaart/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1987/wall/Makefile b/1987/wall/Makefile index 3edd2f5eb..90bedad40 100644 --- a/1987/wall/Makefile +++ b/1987/wall/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-library-redeclaration -Wno-return-type -Wno-string-plus-int \ - -Wno-unknown-escape-sequence -Wno-deprecated-declarations + -Wno-unknown-escape-sequence -Wno-deprecated-declarations \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1987/westley/Makefile b/1987/westley/Makefile index aa230ec97..773cc2aa9 100644 --- a/1987/westley/Makefile +++ b/1987/westley/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-for-loop-analysis -Wno-unused-value +CSILENCE= -Wno-for-loop-analysis -Wno-unused-value \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,7 +85,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-conditional-uninitialized # CWARN+= -Weverything # diff --git a/1988/applin/Makefile b/1988/applin/Makefile index f34bf5d81..f8af0bbf1 100644 --- a/1988/applin/Makefile +++ b/1988/applin/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int +CSILENCE= -Wno-expansion-to-defined -Wno-implicit-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1988/dale/Makefile b/1988/dale/Makefile index 4120e7862..37840880e 100644 --- a/1988/dale/Makefile +++ b/1988/dale/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-implicit-function-declaration -Wno-implicit-int -Wno-keyword-macro \ - -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-value + -Wno-pointer-to-int-cast -Wno-return-type -Wno-unused-value \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -84,7 +85,9 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-missing-prototypes \ + -Wno-missing-variable-declarations -Wno-pedantic -Wno-shorten-64-to-32 \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1988/isaak/Makefile b/1988/isaak/Makefile index 080ec92e3..efcf8d3f7 100644 --- a/1988/isaak/Makefile +++ b/1988/isaak/Makefile @@ -42,7 +42,7 @@ CSILENCE= -Wno-comma -Wno-implicit-function-declaration -Wno-format-insufficien -Wno-implicit-int -Wno-incompatible-library-redeclaration -Wno-missing-prototypes \ -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-unused-macros -Wno-int-conversion -Wno-macro-redefined # Common C compiler warning flags # diff --git a/1988/litmaath/Makefile b/1988/litmaath/Makefile index 370e7cbc0..ad37da5af 100644 --- a/1988/litmaath/Makefile +++ b/1988/litmaath/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1988/phillipps/Makefile b/1988/phillipps/Makefile index e6ff95cac..b16bdebdb 100644 --- a/1988/phillipps/Makefile +++ b/1988/phillipps/Makefile @@ -40,7 +40,8 @@ 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-pointer-integer-compare -Wno-compare-distinct-pointer-types \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -85,7 +86,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories -Wno-comma +CSILENCE+= -Wno-poison-system-directories -Wno-comma \ + -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/1988/reddy/Makefile b/1988/reddy/Makefile index 462e0415e..f5c060f93 100644 --- a/1988/reddy/Makefile +++ b/1988/reddy/Makefile @@ -39,7 +39,7 @@ 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-return-type -Wno-deprecated-declarations -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1988/robison/Makefile b/1988/robison/Makefile index da894b713..db224e0f8 100644 --- a/1988/robison/Makefile +++ b/1988/robison/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1988/westley/Makefile b/1988/westley/Makefile index c4a7ed1ad..dd8aebef9 100644 --- a/1988/westley/Makefile +++ b/1988/westley/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile index 3a00f9506..72251fa5a 100644 --- a/1989/jar.2/Makefile +++ b/1989/jar.2/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-implicit-function-declaration -Wno-missing-braces -Wno-parentheses +CSILENCE= -Wno-implicit-function-declaration -Wno-missing-braces -Wno-parentheses \ + -Wno-deprecated-non-prototype -Wno-pedantic -Wno-strict-prototypes # Common C compiler warning flags # @@ -83,7 +84,9 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +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 # CWARN+= -Weverything # diff --git a/1989/ovdluhe/Makefile b/1989/ovdluhe/Makefile index 940fe1c0f..e34e32258 100644 --- a/1989/ovdluhe/Makefile +++ b/1989/ovdluhe/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \ -Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \ - -Wno-unused-variable + -Wno-unused-variable -Wno-strict-prototypes \ + -Wno-extra-semi -Wno-non-literal-null-conversion # Common C compiler warning flags # diff --git a/1989/paul/Makefile b/1989/paul/Makefile index 30d0df6d3..c0c3e1ba0 100644 --- a/1989/paul/Makefile +++ b/1989/paul/Makefile @@ -40,7 +40,7 @@ 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-pointer-to-int-cast -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1989/robison/Makefile b/1989/robison/Makefile index a170d2142..d4ce927b6 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-unused-parameter +CSILENCE= -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-format-extra-args \ + -Wno-int-to-pointer-cast -Wno-strict-prototypes # Common C compiler warning flags # @@ -88,7 +89,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-missing-prototypes -Wno-poison-system-directories \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-bad-function-cast -Wno-missing-variable-declarations # CWARN+= -Weverything # diff --git a/1989/roemer/Makefile b/1989/roemer/Makefile index 9cce53cb1..3a83e5a5e 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-string-plus-int -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile index 85ca5eaa5..6ae11c361 100644 --- a/1989/tromp/Makefile +++ b/1989/tromp/Makefile @@ -40,7 +40,8 @@ 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-unknown-warning-option -Wno-deprecated-non-prototype \ + -Wno-shorten-64-to-32 -Wno-int-conversion # Common C compiler warning flags # @@ -87,7 +88,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/1989/vanb/Makefile b/1989/vanb/Makefile index 8b13c7d77..0319a77e6 100644 --- a/1989/vanb/Makefile +++ b/1989/vanb/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic +CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1989/westley/Makefile b/1989/westley/Makefile index 9b97834c2..4c4ec0776 100644 --- a/1989/westley/Makefile +++ b/1989/westley/Makefile @@ -39,7 +39,9 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-comment -Wno-error -Wno-implicit-function-declaration \ - -Wno-logical-op-parentheses + -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \ + -Wno-int-conversion -Wno-return-type \ + -Wno-comma -Wno-missing-variable-declarations -Wno-unused-value # Common C compiler warning flags # diff --git a/1990/baruch/Makefile b/1990/baruch/Makefile index 90662dd69..efe2aaf2c 100644 --- a/1990/baruch/Makefile +++ b/1990/baruch/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-string-plus-int + -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1990/cmills/Makefile b/1990/cmills/Makefile index 491b4779d..ccb8fa2d9 100644 --- a/1990/cmills/Makefile +++ b/1990/cmills/Makefile @@ -38,8 +38,9 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-deprecated-declarations -Wno-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-format-security -Wno-return-type -Wno-unused-value +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 # Common C compiler warning flags # diff --git a/1990/dds/Makefile b/1990/dds/Makefile index e5eff81f5..3c63fe438 100644 --- a/1990/dds/Makefile +++ b/1990/dds/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-builtin-requires-header -Wno-char-subscripts -Wno-conditional-type-mismatch \ -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-incompatible-library-redeclaration -Wno-parentheses -Wno-implicit-int + -Wno-incompatible-library-redeclaration -Wno-parentheses -Wno-implicit-int \ + -Wno-deprecated-non-prototype -Wno-return-type -Wno-strict-prototypes # Common C compiler warning flags # @@ -85,7 +86,9 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +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 # CWARN+= -Weverything # diff --git a/1990/dg/Makefile b/1990/dg/Makefile index 14637625d..a75be545d 100644 --- a/1990/dg/Makefile +++ b/1990/dg/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-invalid-pp-token +CSILENCE= -Wno-invalid-pp-token -Wno-strict-prototypes # Common C compiler warning flags # @@ -83,7 +83,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories -Wno-strict-prototypes +CSILENCE+= -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-implicit-int-conversion -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1990/jaw/Makefile b/1990/jaw/Makefile index b38c8d2cd..b0ddac970 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-shift-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1990/pjr/Makefile b/1990/pjr/Makefile index 603ba16b6..c8b70fc78 100644 --- a/1990/pjr/Makefile +++ b/1990/pjr/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile index 7c33eba0d..25a75f999 100644 --- a/1990/scjones/Makefile +++ b/1990/scjones/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs +CSILENCE= -Wno-invalid-pp-token -Wno-trigraphs -Wno-deprecated-non-prototype \ + -Wno-pedantic -Wno-strict-prototypes # Common C compiler warning flags # @@ -83,7 +84,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ + -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/1990/tbr/Makefile b/1990/tbr/Makefile index 7454381f8..81018b27b 100644 --- a/1990/tbr/Makefile +++ b/1990/tbr/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-unused-value + -Wno-unused-value -Wno-deprecated-non-prototype -Wno-return-type # Common C compiler warning flags # @@ -85,7 +85,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-pedantic -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-unreachable-code # CWARN+= -Weverything # diff --git a/1990/theorem/Makefile b/1990/theorem/Makefile index 0afb8d29f..73fb35232 100644 --- a/1990/theorem/Makefile +++ b/1990/theorem/Makefile @@ -41,7 +41,8 @@ include ../../var.mk CSILENCE= -Wno-deprecated-declarations -Wno-empty-body -Wno-error -Wno-unused-value \ -Wno-implicit-function-declaration -Wno-incompatible-pointer-types \ -Wno-macro-redefined -Wno-parentheses -Wno-return-type -Wno-unused-parameter \ - -Wno-empty-translation-unit -Wno-int-conversion + -Wno-empty-translation-unit -Wno-deprecated-non-prototype -Wno-int-conversion \ + -Wno-strict-prototypes # Common C compiler warning flags # @@ -89,7 +90,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-float-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \ - -Wno-unreachable-code -Wno-unused-macros + -Wno-unreachable-code -Wno-unused-macros -Wno-implicit-float-conversion # CWARN+= -Weverything # diff --git a/1990/westley/Makefile b/1990/westley/Makefile index 82b953470..69b9c1359 100644 --- a/1990/westley/Makefile +++ b/1990/westley/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ - -Wno-unused-value -Wno-unused-variable + -Wno-unused-value -Wno-unused-variable -Wno-deprecated-non-prototype \ + -Wno-uninitialized # Common C compiler warning flags # @@ -84,7 +85,10 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +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-unreachable-code-loop-increment # CWARN+= -Weverything # diff --git a/1991/ant/Makefile b/1991/ant/Makefile index 8c5aac894..1affc081b 100644 --- a/1991/ant/Makefile +++ b/1991/ant/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-empty-body \ - -Wno-implicit-function-declaration -Wno-return-type + -Wno-implicit-function-declaration -Wno-return-type \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1991/brnstnd/Makefile b/1991/brnstnd/Makefile index c1af9cd8c..e0786b43e 100644 --- a/1991/brnstnd/Makefile +++ b/1991/brnstnd/Makefile @@ -39,7 +39,7 @@ 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-parentheses -Wno-return-type -Wno-deprecated-non-prototype -Wno-unused-value # Common C compiler warning flags # @@ -86,7 +86,8 @@ ifeq ($(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-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1991/buzzard/Makefile b/1991/buzzard/Makefile index 52d932383..d5d8a6c08 100644 --- a/1991/buzzard/Makefile +++ b/1991/buzzard/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ -Wno-int-conversion -Wno-logical-op-parentheses -Wno-pedantic \ - -Wno-return-type -Wno-unknown-escape-sequence -Wno-unused-value + -Wno-return-type -Wno-unknown-escape-sequence -Wno-unused-value \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1991/cdupont/Makefile b/1991/cdupont/Makefile index b874994e2..546d7160a 100644 --- a/1991/cdupont/Makefile +++ b/1991/cdupont/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-unused-label +CSILENCE= -Wno-unused-label -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1991/davidguy/Makefile b/1991/davidguy/Makefile index b7790054f..9ae600e28 100644 --- a/1991/davidguy/Makefile +++ b/1991/davidguy/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare + -Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1991/dds/Makefile b/1991/dds/Makefile index fdeddccef..0f4b8b9e7 100644 --- a/1991/dds/Makefile +++ b/1991/dds/Makefile @@ -38,8 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-overlength-strings \ - -Wno-unused-parameter +CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-parameter \ + -Wno-error -Wno-implicit-function-declaration # Common C compiler warning flags # @@ -84,8 +84,9 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-poison-system-directorie +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 # CWARN+= -Weverything # diff --git a/1991/rince/Makefile b/1991/rince/Makefile index f80abc5ce..cc6b162ac 100644 --- a/1991/rince/Makefile +++ b/1991/rince/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1991/westley/Makefile b/1991/westley/Makefile index 01f2a8ab5..592f05854 100644 --- a/1991/westley/Makefile +++ b/1991/westley/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ - -Wno-shift-op-parentheses -Wno-return-type + -Wno-shift-op-parentheses -Wno-return-type -Wno-deprecated-non-prototype \ + -Wno-missing-braces # Common C compiler warning flags # diff --git a/1992/adrian/Makefile b/1992/adrian/Makefile index 9e2e27f42..090fc340b 100644 --- a/1992/adrian/Makefile +++ b/1992/adrian/Makefile @@ -42,7 +42,8 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-comment -Wno-deprecated-declarations -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ -Wno-logical-op-parentheses -Wno-macro-redefined -Wno-parentheses \ -Wno-return-type -Wno-uninitialized -Wno-unused-value -Wno-unused-variable \ - -Wno-unused-but-set-variable -Wno-unsequenced -Wno-unused-parameter + -Wno-unused-but-set-variable -Wno-unsequenced -Wno-unused-parameter \ + -Wno-empty-translation-unit # Common C compiler warning flags # @@ -90,7 +91,8 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-missing-noreturn \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded \ -Wno-poison-system-directories -Wno-shadow -Wno-unreachable-code \ - -Wno-unused-macros + -Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-empty-translation-unit # CWARN+= -Weverything # diff --git a/1992/albert/Makefile b/1992/albert/Makefile index cd5f47f31..59fa8fdac 100644 --- a/1992/albert/Makefile +++ b/1992/albert/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/ant/Makefile b/1992/ant/Makefile index e105d4de5..c7c1bff54 100644 --- a/1992/ant/Makefile +++ b/1992/ant/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unsequenced +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unsequenced \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1992/buzzard.1/Makefile b/1992/buzzard.1/Makefile index 3e3725591..6e16b946a 100644 --- a/1992/buzzard.1/Makefile +++ b/1992/buzzard.1/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-pedantic \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile index 41dda73e5..b15ebd538 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-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/gson/Makefile b/1992/gson/Makefile index 03ca1b210..d5a42c1db 100644 --- a/1992/gson/Makefile +++ b/1992/gson/Makefile @@ -41,7 +41,8 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts \ -Wno-deprecated-declarations -Wno-empty-body -Wno-error \ -Wno-implicit-function-declaration -Wno-parentheses -Wno-pedantic \ - -Wno-return-type -Wno-unused-parameter -Wno-unused-value + -Wno-return-type -Wno-unused-parameter -Wno-unused-value \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/imc/Makefile b/1992/imc/Makefile index 5acbaa5ba..ad3f6bbe4 100644 --- a/1992/imc/Makefile +++ b/1992/imc/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -85,7 +86,8 @@ ifeq ($(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-poison-system-directories -Wno-unknown-warning-option \ + -Wno-float-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/1992/kivinen/Makefile b/1992/kivinen/Makefile index caef7a4dd..8a721aa7a 100644 --- a/1992/kivinen/Makefile +++ b/1992/kivinen/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-logical-op-parentheses -Wno-main -Wno-variadic-macros + -Wno-logical-op-parentheses -Wno-main -Wno-variadic-macros -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/lush/Makefile b/1992/lush/Makefile index 17210a790..880722a7c 100644 --- a/1992/lush/Makefile +++ b/1992/lush/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1992/marangon/Makefile b/1992/marangon/Makefile index 3bb0bf1f8..235bfaa1e 100644 --- a/1992/marangon/Makefile +++ b/1992/marangon/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-logical-op-parentheses -Wno-main-return-type -Wno-missing-braces \ -Wno-parentheses -Wno-return-type -Wno-tautological-bitwise-compare \ - -Wno-unsequenced + -Wno-unsequenced -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1992/nathan/Makefile b/1992/nathan/Makefile index bcb63e46b..37f4588cb 100644 --- a/1992/nathan/Makefile +++ b/1992/nathan/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-comma -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/1992/vern/Makefile b/1992/vern/Makefile index 96c95403c..6e0523dad 100644 --- a/1992/vern/Makefile +++ b/1992/vern/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # 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-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1992/westley/Makefile b/1992/westley/Makefile index 5f33b142f..c2bd99396 100644 --- a/1992/westley/Makefile +++ b/1992/westley/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-pedantic + -Wno-parentheses -Wno-pedantic -Wno-deprecated-non-prototype -Wno-int-conversion # Common C compiler warning flags # @@ -84,7 +84,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-int-conversion # CWARN+= -Weverything # diff --git a/1993/ant/Makefile b/1993/ant/Makefile index 30dd0a104..9f975c375 100644 --- a/1993/ant/Makefile +++ b/1993/ant/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1993/cmills/Makefile b/1993/cmills/Makefile index 07b6a5a9b..d8a9aba58 100644 --- a/1993/cmills/Makefile +++ b/1993/cmills/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-return-type +CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1993/jonth/Makefile b/1993/jonth/Makefile index e8cc9660e..1c90522b2 100644 --- a/1993/jonth/Makefile +++ b/1993/jonth/Makefile @@ -39,7 +39,10 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration \ - -Wno-incompatible-pointer-types -Wno-int-conversion + -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 # Common C compiler warning flags # @@ -87,7 +90,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-cast-align -Wno-comma -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-sign-conversion -Wno-strict-prototypes + -Wno-sign-conversion -Wno-strict-prototypes \ + -Wno-implicit-int-conversion -Wno-shadow -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/1993/lmfjyh/Makefile b/1993/lmfjyh/Makefile index 23b624bac..9a9b2dea6 100644 --- a/1993/lmfjyh/Makefile +++ b/1993/lmfjyh/Makefile @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/1993/plummer/Makefile b/1993/plummer/Makefile index d67c1bdd9..f5168fe24 100644 --- a/1993/plummer/Makefile +++ b/1993/plummer/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1993/schnitzi/Makefile b/1993/schnitzi/Makefile index 345b26c31..09c3a2e12 100644 --- a/1993/schnitzi/Makefile +++ b/1993/schnitzi/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-deprecated-declarations -Wno-pedantic +CSILENCE= -Wno-deprecated-declarations -Wno-pedantic -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1993/vanb/Makefile b/1993/vanb/Makefile index 6c002bcd8..aa07f55a3 100644 --- a/1993/vanb/Makefile +++ b/1993/vanb/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-deprecated-non-prototype -Wno-unused-value # Common C compiler warning flags # @@ -83,7 +83,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-comma -Wno-pedantic -Wno-poison-system-directories +CSILENCE+= -Wno-comma -Wno-pedantic -Wno-poison-system-directories \ + -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-shadow # CWARN+= -Weverything # diff --git a/1994/dodsond1/Makefile b/1994/dodsond1/Makefile index 8591966ee..a6671e159 100644 --- a/1994/dodsond1/Makefile +++ b/1994/dodsond1/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-missing-braces -Wno-return-type + -Wno-missing-braces -Wno-return-type -Wno-deprecated-non-prototype \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1994/dodsond2/Makefile b/1994/dodsond2/Makefile index 351170a05..9395ab879 100644 --- a/1994/dodsond2/Makefile +++ b/1994/dodsond2/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1994/horton/Makefile b/1994/horton/Makefile index 87885fef9..d8a9aa438 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-unused-variable -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1994/imc/Makefile b/1994/imc/Makefile index 6d3d7d909..d7fe2cf30 100644 --- a/1994/imc/Makefile +++ b/1994/imc/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-error -Wno-implicit-function-declaration \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1994/ldb/Makefile b/1994/ldb/Makefile index 09ddf4d3b..07f5f7e8f 100644 --- a/1994/ldb/Makefile +++ b/1994/ldb/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-trigraphs -Wno-int-conversion +CSILENCE= -Wno-trigraphs -Wno-incompatible-pointer-types -Wno-int-conversion \ + -Wno-strict-prototypes # Common C compiler warning flags # @@ -83,7 +84,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ + -Wno-comma -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/1994/schnitzi/Makefile b/1994/schnitzi/Makefile index 0dcaaad8a..1b269b79f 100644 --- a/1994/schnitzi/Makefile +++ b/1994/schnitzi/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-deprecated-declarations -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-deprecated-declarations -Wno-error -Wno-implicit-function-declaration \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1994/shapiro/Makefile b/1994/shapiro/Makefile index 2c9c3adc0..7de8cb116 100644 --- a/1994/shapiro/Makefile +++ b/1994/shapiro/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1994/tvr/Makefile b/1994/tvr/Makefile index 7ce8404d9..3c0484f41 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-incompatible-pointer-types -Wno-strict-prototypes # Common C compiler warning flags # @@ -88,7 +88,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -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-sign-conversion -Wno-strict-prototypes -Wno-missing-noreturn # CWARN+= -Weverything # diff --git a/1994/weisberg/Makefile b/1994/weisberg/Makefile index e41a6f832..9bf23ca8b 100644 --- a/1994/weisberg/Makefile +++ b/1994/weisberg/Makefile @@ -86,7 +86,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-comma -Wno-poison-system-directories \ +CSILENCE+= -Wno-comma -Wno-poison-system-directories -Wno-shift-sign-overflow \ -Wno-conditional-uninitialized -Wno-pedantic # CWARN+= -Weverything diff --git a/1994/westley/Makefile b/1994/westley/Makefile index e3b76d4d1..d303fa01a 100644 --- a/1994/westley/Makefile +++ b/1994/westley/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-poison-system-directories -Wno-undef # Common C compiler warning flags # diff --git a/1995/cdua/Makefile b/1995/cdua/Makefile index 32a8d73dc..198662fd6 100644 --- a/1995/cdua/Makefile +++ b/1995/cdua/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main +CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \ + -Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,7 +85,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-strict-prototypes \ + -Wno-format-nonliteral -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/1995/dodsond1/Makefile b/1995/dodsond1/Makefile index 8cb83ddac..2d330624c 100644 --- a/1995/dodsond1/Makefile +++ b/1995/dodsond1/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1995/dodsond2/Makefile b/1995/dodsond2/Makefile index 9be348334..7dd200242 100644 --- a/1995/dodsond2/Makefile +++ b/1995/dodsond2/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-shift-op-parentheses \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1995/garry/Makefile b/1995/garry/Makefile index be0af1e81..7e99d5b63 100644 --- a/1995/garry/Makefile +++ b/1995/garry/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type +CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \ + -Wno-unused-variable # Common C compiler warning flags # diff --git a/1995/savastio/Makefile b/1995/savastio/Makefile index 18e640c1a..cf3ae9778 100644 --- a/1995/savastio/Makefile +++ b/1995/savastio/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-format -Wno-incompatible-library-redeclaration \ - -Wno-non-literal-null-conversion + -Wno-non-literal-null-conversion -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1995/schnitzi/Makefile b/1995/schnitzi/Makefile index a579e84e3..f93f0dda3 100644 --- a/1995/schnitzi/Makefile +++ b/1995/schnitzi/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \ - -Wno-logical-op-parentheses + -Wno-logical-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1995/spinellis/Makefile b/1995/spinellis/Makefile index a359e0258..49b0a6e1a 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 +CSILENCE= -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1995/vanschnitz/Makefile b/1995/vanschnitz/Makefile index 7001aaad8..4c6122aab 100644 --- a/1995/vanschnitz/Makefile +++ b/1995/vanschnitz/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-tokens \ - -Wno-overlength-strings + -Wno-overlength-strings -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1996/august/Makefile b/1996/august/Makefile index 3200372aa..1a78eff29 100644 --- a/1996/august/Makefile +++ b/1996/august/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-invalid-source-encoding -Wno-invalid-utf8 +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-invalid-source-encoding \ + -Wno-invalid-utf8 -Wno-strict-prototypes -Wno-unknown-warning-option # Common C compiler warning flags # diff --git a/1996/eldby/Makefile b/1996/eldby/Makefile index a6d42c6ed..a80768160 100644 --- a/1996/eldby/Makefile +++ b/1996/eldby/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-return-type -Wno-unsequenced + -Wno-return-type -Wno-unsequenced -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1996/gandalf/Makefile b/1996/gandalf/Makefile index f37086de9..53113922e 100644 --- a/1996/gandalf/Makefile +++ b/1996/gandalf/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-keyword-macro \ - -Wno-shift-op-parentheses -Wno-unused-parameter + -Wno-shift-op-parentheses -Wno-unused-parameter \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes -Wno-unsequenced # Common C compiler warning flags # @@ -85,7 +86,7 @@ CC= cc ifeq ($(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-unused-macros # CWARN+= -Weverything # diff --git a/1996/huffman/Makefile b/1996/huffman/Makefile index bdfa9796a..1910797f9 100644 --- a/1996/huffman/Makefile +++ b/1996/huffman/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1996/jonth/Makefile b/1996/jonth/Makefile index 06d6261cb..50dd6e49e 100644 --- a/1996/jonth/Makefile +++ b/1996/jonth/Makefile @@ -40,7 +40,7 @@ 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-unsequenced -Wno-unused-parameter -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1996/rcm/Makefile b/1996/rcm/Makefile index 84da3e0ef..5619f1567 100644 --- a/1996/rcm/Makefile +++ b/1996/rcm/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses +CSILENCE= -Wno-empty-body -Wno-shift-op-parentheses -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1996/westley/Makefile b/1996/westley/Makefile index 7ffc7cc66..058007466 100644 --- a/1996/westley/Makefile +++ b/1996/westley/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-int-to-pointer-cast -Wno-empty-body + -Wno-int-to-pointer-cast -Wno-empty-body -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1998/banks/Makefile b/1998/banks/Makefile index d54cfdbad..bf5705eb2 100644 --- a/1998/banks/Makefile +++ b/1998/banks/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-unsequenced -Wno-incompatible-pointer-types + -Wno-unsequenced -Wno-incompatible-pointer-types \ + -Wno-bitwise-instead-of-logical -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1998/bas1/Makefile b/1998/bas1/Makefile index 1e73724e9..40fc4359f 100644 --- a/1998/bas1/Makefile +++ b/1998/bas1/Makefile @@ -40,7 +40,7 @@ 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-shift-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1998/bas2/Makefile b/1998/bas2/Makefile index 2f0969f96..43c0b178d 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 +CSILENCE= -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/1998/df/Makefile b/1998/df/Makefile index 0a469874c..58e1388e3 100644 --- a/1998/df/Makefile +++ b/1998/df/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-pointer-to-int-cast \ - -Wno-return-type -Wno-unused-parameter -Wno-unused-variable -Wno-typedef-redefinition + -Wno-return-type -Wno-unused-parameter -Wno-unused-variable \ + -Wno-typedef-redefinition -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -88,7 +89,7 @@ CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-implicit-int-conversion \ -Wno-keyword-macro -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-pedantic \ -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes + -Wno-strict-prototypes -Wno-cast-function-type # CWARN+= -Weverything # diff --git a/1998/dlowe/Makefile b/1998/dlowe/Makefile index 2f3f1f92d..6b7b3432d 100644 --- a/1998/dlowe/Makefile +++ b/1998/dlowe/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-main-return-type +CSILENCE= -Wno-main-return-type -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1998/dorssel/Makefile b/1998/dorssel/Makefile index 3bfaeef52..93dbc15e3 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-shift-op-parentheses -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/1998/schnitzi/Makefile b/1998/schnitzi/Makefile index 2fc43b251..f9b1247ed 100644 --- a/1998/schnitzi/Makefile +++ b/1998/schnitzi/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \ - -Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter + -Wno-int-to-pointer-cast -Wno-int-conversion -Wno-unused-parameter \ + -Wno-incompatible-pointer-types # Common C compiler warning flags # @@ -86,7 +87,8 @@ ifeq ($(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-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \ + -Wno-cast-align # CWARN+= -Weverything # diff --git a/1998/schweikh1/Makefile b/1998/schweikh1/Makefile index 5057371bc..73bea14ee 100644 --- a/1998/schweikh1/Makefile +++ b/1998/schweikh1/Makefile @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros # CWARN+= -Weverything # diff --git a/1998/schweikh2/Makefile b/1998/schweikh2/Makefile index d0ebca79b..ee35efb95 100644 --- a/1998/schweikh2/Makefile +++ b/1998/schweikh2/Makefile @@ -83,7 +83,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros -Wno-sign-conversion +CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros -Wno-sign-conversion \ + -Wno-cast-function-type # CWARN+= -Weverything # diff --git a/1998/schweikh3/Makefile b/1998/schweikh3/Makefile index 6e43ef50b..31c5c46ce 100644 --- a/1998/schweikh3/Makefile +++ b/1998/schweikh3/Makefile @@ -84,7 +84,8 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +CSILENCE+= -Wno-padded -Wno-poison-system-directories -Wno-shorten-64-to-32 \ + -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2000/anderson/Makefile b/2000/anderson/Makefile index c66e9d5a1..b63f29178 100644 --- a/2000/anderson/Makefile +++ b/2000/anderson/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-deprecated-declarations -Wno-implicit-int \ - -Wno-logical-op-parentheses -Wno-return-type -Wno-unsequenced + -Wno-logical-op-parentheses -Wno-return-type -Wno-unsequenced \ + -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/bellard/Makefile b/2000/bellard/Makefile index d5f649bb0..1c07fe9c3 100644 --- a/2000/bellard/Makefile +++ b/2000/bellard/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-return-type -Wno-unsequenced + -Wno-return-type -Wno-unsequenced -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2000/bmeyer/Makefile b/2000/bmeyer/Makefile index 03e32cd6d..623f2fa9f 100644 --- a/2000/bmeyer/Makefile +++ b/2000/bmeyer/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-format -Wno-parentheses -Wno-string-plus-int +CSILENCE= -Wno-format -Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/briddlebane/Makefile b/2000/briddlebane/Makefile index bb93c07a2..301fe1567 100644 --- a/2000/briddlebane/Makefile +++ b/2000/briddlebane/Makefile @@ -38,8 +38,9 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-absolute-value -Wno-implicit-int \ - -Wno-incompatible-function-pointer-types -Wno-unsequenced +CSILENCE= -Wno-absolute-value -Wno-implicit-int -Wno-deprecated-non-prototype \ + -Wno-incompatible-function-pointer-types -Wno-unsequenced \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/dhyang/Makefile b/2000/dhyang/Makefile index 0ae94be5c..561b4d7ff 100644 --- a/2000/dhyang/Makefile +++ b/2000/dhyang/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-implicit-int -Wno-main-return-type -Wno-extra-semi + -Wno-implicit-int -Wno-main-return-type -Wno-extra-semi \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/jarijyrki/Makefile b/2000/jarijyrki/Makefile index 5744b4ebb..d60bfdb06 100644 --- a/2000/jarijyrki/Makefile +++ b/2000/jarijyrki/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-error \ - -Wno-implicit-function-declaration -Wno-implicit-int + -Wno-implicit-function-declaration -Wno-implicit-int \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2000/natori/Makefile b/2000/natori/Makefile index c2709255c..83801de64 100644 --- a/2000/natori/Makefile +++ b/2000/natori/Makefile @@ -85,7 +85,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-missing-variable-declarations -Wno-pedantic \ - -Wno-poison-system-directories + -Wno-poison-system-directories -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/2000/rince/Makefile b/2000/rince/Makefile index 2a5ba2763..918459610 100644 --- a/2000/rince/Makefile +++ b/2000/rince/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-pointer-types -Wno-parentheses -Wno-return-type \ - -Wno-unevaluated-expression + -Wno-unevaluated-expression -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/robison/Makefile b/2000/robison/Makefile index 5ac6497f0..a152e1486 100644 --- a/2000/robison/Makefile +++ b/2000/robison/Makefile @@ -40,7 +40,7 @@ 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-shift-op-parentheses -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2000/schneiderwent/Makefile b/2000/schneiderwent/Makefile index 02690a80c..477f78a7f 100644 --- a/2000/schneiderwent/Makefile +++ b/2000/schneiderwent/Makefile @@ -83,7 +83,8 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories \ + -Wno-shorten-64-to-32 -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2000/thadgavin/Makefile b/2000/thadgavin/Makefile index 65e3070c0..3c2b8af1f 100644 --- a/2000/thadgavin/Makefile +++ b/2000/thadgavin/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced +CSILENCE= -Wno-empty-body -Wno-implicit-int -Wno-unsequenced \ + -Wno-deprecated-non-prototype -Wno-unused-parameter # Common C compiler warning flags # diff --git a/2000/tomx/Makefile b/2000/tomx/Makefile index 584ea17fd..3187fd7fc 100644 --- a/2000/tomx/Makefile +++ b/2000/tomx/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-comment +CSILENCE= -Wno-comment -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2001/anonymous/Makefile b/2001/anonymous/Makefile index ff74cbde9..4f92f53c2 100644 --- a/2001/anonymous/Makefile +++ b/2001/anonymous/Makefile @@ -43,7 +43,8 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-int-to-pointer-cast -Wno-macro-redefined -Wno-pedantic \ -Wno-pointer-to-int-cast -Wno-return-type -Wno-string-plus-int \ -Wno-bitwise-op-parentheses -Wno-format -Wno-format-extra-args \ - -Wno-int-conversion -Wno-unused-parameter -Wno-unsequenced + -Wno-int-conversion -Wno-unused-parameter -Wno-unsequenced \ + -Wno-deprecated-non-prototype -Wno-unused-value # Common C compiler warning flags # @@ -91,7 +92,7 @@ ifeq ($(CC),clang) 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-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2001/bellard/Makefile b/2001/bellard/Makefile index 533140bfb..c57752f16 100644 --- a/2001/bellard/Makefile +++ b/2001/bellard/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-int-conversion -Wno-int-to-pointer-cast \ - -Wno-parentheses -Wno-return-type + -Wno-parentheses -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -87,7 +87,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-conditional-uninitialized -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-poison-system-directories -Wno-shorten-64-to-32 -Wno-strict-prototypes \ + -Wno-unused-macros # CWARN+= -Weverything # diff --git a/2001/cheong/Makefile b/2001/cheong/Makefile index 346eec27c..7280b74fb 100644 --- a/2001/cheong/Makefile +++ b/2001/cheong/Makefile @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ - -Wno-poison-system-directories + -Wno-poison-system-directories -Wno-missing-prototypes # CWARN+= -Weverything # diff --git a/2001/coupard/Makefile b/2001/coupard/Makefile index 40f0c03d5..c54cffb55 100644 --- a/2001/coupard/Makefile +++ b/2001/coupard/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-pointer-sign -Wno-return-type +CSILENCE= -Wno-empty-body -Wno-pointer-sign -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2001/dgbeards/Makefile b/2001/dgbeards/Makefile index 80b36b3a8..3dcd3d7e8 100644 --- a/2001/dgbeards/Makefile +++ b/2001/dgbeards/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-format-security -Wno-implicit-int -Wno-return-type + -Wno-format-security -Wno-implicit-int -Wno-return-type -Wno-strict-prototypes # Common C compiler warning flags # @@ -87,7 +87,7 @@ ifeq ($(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-shadow -Wno-strict-prototypes + -Wno-shadow -Wno-strict-prototypes -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2001/herrmann2/Makefile b/2001/herrmann2/Makefile index 6c147ba33..d5812ea74 100644 --- a/2001/herrmann2/Makefile +++ b/2001/herrmann2/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-to-pointer-cast \ -Wno-parentheses -Wno-shift-op-parentheses -Wno-tautological-compare \ - -Wno-unused-comparison -Wno-unused-value + -Wno-unused-comparison -Wno-unused-value -Wno-int-in-bool-context \ + -Wno-pointer-bool-conversion -Wno-unsequenced -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -86,7 +87,9 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-extra-semi -Wno-missing-variable-declarations \ - -Wno-pedantic -Wno-pointer-arith -Wno-poison-system-directories + -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 # CWARN+= -Weverything # diff --git a/2001/jason/Makefile b/2001/jason/Makefile index 9fc3d394b..461d64a48 100644 --- a/2001/jason/Makefile +++ b/2001/jason/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-extra-semi -Wno-string-plus-int \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2001/rosten/Makefile b/2001/rosten/Makefile index 51f66e958..a3610ba92 100644 --- a/2001/rosten/Makefile +++ b/2001/rosten/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-logical-op-parentheses -Wno-parentheses -Wno-unused-value +CSILENCE= -Wno-logical-op-parentheses -Wno-parentheses -Wno-unused-value \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2001/westley/Makefile b/2001/westley/Makefile index 05a426a77..d5fff9562 100644 --- a/2001/westley/Makefile +++ b/2001/westley/Makefile @@ -40,7 +40,8 @@ include ../../var.mk # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-main -Wno-return-type -Wno-trigraphs \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-incompatible-pointer-types \ + -Wno-deprecated-declarations -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2001/williams/Makefile b/2001/williams/Makefile index b5e4df394..913ee33a0 100644 --- a/2001/williams/Makefile +++ b/2001/williams/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-logical-op-parentheses \ -Wno-missing-field-initializers -Wno-return-type -Wno-shift-op-parentheses \ - -Wno-unsequenced + -Wno-unsequenced -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2004/burley/Makefile b/2004/burley/Makefile index 1117fd2bb..c1e359ccb 100644 --- a/2004/burley/Makefile +++ b/2004/burley/Makefile @@ -85,7 +85,9 @@ CC= cc ifeq ($(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-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 # CWARN+= -Weverything # diff --git a/2004/gavare/Makefile b/2004/gavare/Makefile index f256bf86e..493f0abf0 100644 --- a/2004/gavare/Makefile +++ b/2004/gavare/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-return-type + -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2004/hibachi/Makefile b/2004/hibachi/Makefile index 53e77e4c4..10f9c6fac 100644 --- a/2004/hibachi/Makefile +++ b/2004/hibachi/Makefile @@ -83,7 +83,9 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +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-sign-conversion # CWARN+= -Weverything # diff --git a/2004/hoyle/Makefile b/2004/hoyle/Makefile index 6caf39713..c88190bef 100644 --- a/2004/hoyle/Makefile +++ b/2004/hoyle/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-absolute-value -Wno-keyword-macro +CSILENCE= -Wno-absolute-value -Wno-keyword-macro -Wno-newline-eof # Common C compiler warning flags # diff --git a/2004/kopczynski/Makefile b/2004/kopczynski/Makefile index d1166556f..0c443525d 100644 --- a/2004/kopczynski/Makefile +++ b/2004/kopczynski/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-main -Wno-parentheses + -Wno-main -Wno-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2004/newbern/Makefile b/2004/newbern/Makefile index 894df974b..814ca9309 100644 --- a/2004/newbern/Makefile +++ b/2004/newbern/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types +CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2004/omoikane/Makefile b/2004/omoikane/Makefile index a6b657747..90c88a637 100644 --- a/2004/omoikane/Makefile +++ b/2004/omoikane/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-unused-value +CSILENCE= -Wno-empty-body -Wno-int-conversion -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2004/schnitzi/Makefile b/2004/schnitzi/Makefile index fc007895d..c9117a20b 100644 --- a/2004/schnitzi/Makefile +++ b/2004/schnitzi/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-deprecated-declarations -Wno-error -Wno-implicit-function-declaration \ - -Wno-format-extra-args + -Wno-format-extra-args -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2004/sds/Makefile b/2004/sds/Makefile index 0b74ecbce..93cb0b598 100644 --- a/2004/sds/Makefile +++ b/2004/sds/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-unsequenced -Wno-unused-value +CSILENCE= -Wno-unsequenced -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2004/vik2/Makefile b/2004/vik2/Makefile index 5ebae92e3..dcbedd44b 100644 --- a/2004/vik2/Makefile +++ b/2004/vik2/Makefile @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE+= -Wno-poison-system-directories +CSILENCE+= -Wno-poison-system-directories -Wno-unused-macros # CWARN+= -Weverything # diff --git a/2005/aidan/Makefile b/2005/aidan/Makefile index 1198df15a..0cc65bdd4 100644 --- a/2005/aidan/Makefile +++ b/2005/aidan/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body +CSILENCE= -Wno-empty-body -Wno-backslash-newline-escape # Common C compiler warning flags # diff --git a/2005/boutines/Makefile b/2005/boutines/Makefile index 997c0a295..58abc339d 100644 --- a/2005/boutines/Makefile +++ b/2005/boutines/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2005/chia/Makefile b/2005/chia/Makefile index 21e15ebb4..16b5d5385 100644 --- a/2005/chia/Makefile +++ b/2005/chia/Makefile @@ -40,7 +40,7 @@ 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-unused-variable -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2005/giljade/Makefile b/2005/giljade/Makefile index 1dc57c255..29c0fe987 100644 --- a/2005/giljade/Makefile +++ b/2005/giljade/Makefile @@ -43,7 +43,7 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-implicit-function-declaration -Wno-extra-semi -Wno-implicit-int \ -Wno-logical-op-parentheses -Wno-return-type -Wno-shift-op-parentheses \ -Wno-unused-value -Wno-incompatible-pointer-types -Wno-int-conversion \ - -Wno-parentheses -Wno-misleading-indentation + -Wno-parentheses -Wno-misleading-indentation -Wno-strict-prototypes # Common C compiler warning flags # @@ -90,7 +90,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-strict-prototypes -Wno-parentheses -Wno-misleading-indentation + -Wno-strict-prototypes -Wno-parentheses -Wno-misleading-indentation \ + -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/2005/mikeash/Makefile b/2005/mikeash/Makefile index ec10c8c5b..5147990ba 100644 --- a/2005/mikeash/Makefile +++ b/2005/mikeash/Makefile @@ -86,7 +86,7 @@ ifeq ($(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-shorten-64-to-32 -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2005/sykes/Makefile b/2005/sykes/Makefile index b2249fc30..8e87b45ed 100644 --- a/2005/sykes/Makefile +++ b/2005/sykes/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-empty-body -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-parentheses \ - -Wno-pointer-sign -Wno-return-type + -Wno-pointer-sign -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2005/vince/Makefile b/2005/vince/Makefile index cedb0c020..e40a274f5 100644 --- a/2005/vince/Makefile +++ b/2005/vince/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-pointer-sign -Wno-unused-parameter +CSILENCE= -Wno-pointer-sign -Wno-unused-parameter -Wno-strict-prototypes # Common C compiler warning flags # @@ -85,7 +85,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-float-conversion -Wno-implicit-float-conversion \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded \ - -Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-sign-conversion -Wno-strict-prototypes \ + -Wno-shadow -Wno-shorten-64-to-32 # CWARN+= -Weverything # diff --git a/2006/birken/Makefile b/2006/birken/Makefile index be19201fe..c000581a5 100644 --- a/2006/birken/Makefile +++ b/2006/birken/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-deprecated-declarations +CSILENCE= -Wno-deprecated-declarations -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2006/meyer/Makefile b/2006/meyer/Makefile index e0bc0970e..63cee47da 100644 --- a/2006/meyer/Makefile +++ b/2006/meyer/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-format +CSILENCE= -Wno-format -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2006/monge/Makefile b/2006/monge/Makefile index 017ca1da7..071c47427 100644 --- a/2006/monge/Makefile +++ b/2006/monge/Makefile @@ -42,7 +42,7 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch \ -Wno-declaration-after-statement -Wno-dollar-in-identifier-extension \ -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-parentheses \ - -Wno-return-type + -Wno-return-type -Wno-strict-prototypes # Common C compiler warning flags # @@ -135,7 +135,6 @@ all: data ${TARGET} supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "This next step may take some time to run:" ${CC} ${CFLAGS} $< -o $@ ${LIBS} # alternative executable diff --git a/2006/night/Makefile b/2006/night/Makefile index 06c2549fc..49669fdec 100644 --- a/2006/night/Makefile +++ b/2006/night/Makefile @@ -133,7 +133,7 @@ all: data ${TARGET} supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "This next compile may take a while to complete:" + @echo "This next step may take some time to run:" ${CC} ${CFLAGS} $< -o $@ ${LIBS} # alternative executable @@ -142,7 +142,7 @@ alt: data ${ALT_TARGET} @${TRUE} ${PROG}.alt: ${PROG}.alt.c - @echo "This next compile may take a while to complete:" + @echo "This next step may take some time to run:" ${CC} ${CFLAGS} $< -o $@ ${LIBS} # data files diff --git a/2006/sloane/Makefile b/2006/sloane/Makefile index d4bf0b5b8..14145bf44 100644 --- a/2006/sloane/Makefile +++ b/2006/sloane/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-pedantic -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced + -Wno-pedantic -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced \ + -Wno-deprecated-non-prototype -Wno-main # Common C compiler warning flags # diff --git a/2006/sykes2/Makefile b/2006/sykes2/Makefile index 4e023f0e3..50ba6ed1b 100644 --- a/2006/sykes2/Makefile +++ b/2006/sykes2/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-main \ - -Wno-pedantic + -Wno-pedantic -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2006/toledo1/Makefile b/2006/toledo1/Makefile index 5ad2159d1..4baac7690 100644 --- a/2006/toledo1/Makefile +++ b/2006/toledo1/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion \ - -Wno-pedantic + -Wno-pedantic -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2006/toledo2/Makefile b/2006/toledo2/Makefile index 9a8b7c048..632ac05ba 100644 --- a/2006/toledo2/Makefile +++ b/2006/toledo2/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-conditional-type-mismatch -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion \ - -Wno-pointer-type-mismatch -Wno-unsequenced + -Wno-pointer-type-mismatch -Wno-unsequenced -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2006/toledo3/Makefile b/2006/toledo3/Makefile index b331e7835..bcd31dd04 100644 --- a/2006/toledo3/Makefile +++ b/2006/toledo3/Makefile @@ -42,7 +42,7 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-pointer-types -Wno-int-conversion \ -Wno-logical-op-parentheses -Wno-parentheses -Wno-shift-op-parentheses \ - -Wno-main + -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/akari/Makefile b/2011/akari/Makefile index 129eaf2db..8cf83aa04 100644 --- a/2011/akari/Makefile +++ b/2011/akari/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \ - -Wno-implicit-int -Wno-return-type -Wno-unused-parameter + -Wno-implicit-int -Wno-return-type -Wno-unused-parameter \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/borsanyi/Makefile b/2011/borsanyi/Makefile index 6c25258ce..22a94d719 100644 --- a/2011/borsanyi/Makefile +++ b/2011/borsanyi/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-format-extra-args \ - -Wno-implicit-int -Wno-main + -Wno-implicit-int -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/dlowe/Makefile b/2011/dlowe/Makefile index 111d603a2..a50d92172 100644 --- a/2011/dlowe/Makefile +++ b/2011/dlowe/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2011/eastman/Makefile b/2011/eastman/Makefile index 906dd43c5..0c1195af6 100644 --- a/2011/eastman/Makefile +++ b/2011/eastman/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-implicit-int -Wno-unsequenced +CSILENCE= -Wno-implicit-int -Wno-unsequenced -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-implicit-float-conversion \ - -Wno-poison-system-directories + -Wno-poison-system-directories -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2011/goren/Makefile b/2011/goren/Makefile index 86dbe4818..ba1480d20 100644 --- a/2011/goren/Makefile +++ b/2011/goren/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ -Wno-implicit-int -Wno-int-conversion -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-unused-but-set-parameter -Wno-unused-value -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/hamaji/Makefile b/2011/hamaji/Makefile index 1d84cc24b..c6aab4a26 100644 --- a/2011/hamaji/Makefile +++ b/2011/hamaji/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-empty-body -Wno-parentheses -Wno-shift-op-parentheses \ - -Wno-unused-value + -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2011/konno/Makefile b/2011/konno/Makefile index f984d8d2b..fbd431643 100644 --- a/2011/konno/Makefile +++ b/2011/konno/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-parentheses \ - -Wno-pedantic -Wno-unsequenced + -Wno-pedantic -Wno-unsequenced -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/richards/Makefile b/2011/richards/Makefile index 3b5f81a82..571108da7 100644 --- a/2011/richards/Makefile +++ b/2011/richards/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ + -Wno-incompatible-pointer-types # Common C compiler warning flags # @@ -86,7 +87,7 @@ ifeq ($(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-undef -Wno-alloca # CWARN+= -Weverything # diff --git a/2011/toledo/Makefile b/2011/toledo/Makefile index 5a928dd85..035656147 100644 --- a/2011/toledo/Makefile +++ b/2011/toledo/Makefile @@ -41,7 +41,8 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-empty-body -Wno-error \ -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-parentheses \ - -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced + -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2011/zucker/Makefile b/2011/zucker/Makefile index 3e78fa183..2312f4051 100644 --- a/2011/zucker/Makefile +++ b/2011/zucker/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body +CSILENCE= -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2012/blakely/Makefile b/2012/blakely/Makefile index 86179fc10..f13dbf3cd 100644 --- a/2012/blakely/Makefile +++ b/2012/blakely/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-unused-parameter \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2012/deckmyn/Makefile b/2012/deckmyn/Makefile index ecea14aec..3b4bcf2cf 100644 --- a/2012/deckmyn/Makefile +++ b/2012/deckmyn/Makefile @@ -85,7 +85,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \ - -Wno-poison-system-directorie + -Wno-poison-system-directorie -Wno-unknown-warning-option \ + -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/2012/dlowe/Makefile b/2012/dlowe/Makefile index 78530159e..a289fc2f0 100644 --- a/2012/dlowe/Makefile +++ b/2012/dlowe/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-dangling-else +CSILENCE= -Wno-dangling-else -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2012/endoh1/Makefile b/2012/endoh1/Makefile index 5ab733a1f..ca4a9fd97 100644 --- a/2012/endoh1/Makefile +++ b/2012/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-absolute-value +CSILENCE= -Wno-absolute-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2012/endoh2/Makefile b/2012/endoh2/Makefile index 67a56cc68..636351c86 100644 --- a/2012/endoh2/Makefile +++ b/2012/endoh2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-parentheses -Wno-empty-body +CSILENCE= -Wno-parentheses -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \ - -Wno-poison-system-directories + -Wno-poison-system-directories -Wno-float-conversion -Wno-implicit-int-conversion # CWARN+= -Weverything # diff --git a/2012/hou/Makefile b/2012/hou/Makefile index e2861842a..94d3bcc74 100644 --- a/2012/hou/Makefile +++ b/2012/hou/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-extra-args \ -Wno-implicit-int -Wno-missing-field-initializers \ -Wno-non-literal-null-conversion -Wno-return-type -Wno-shift-op-parentheses \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2012/kang/Makefile b/2012/kang/Makefile index 8a410fdc2..0453afa04 100644 --- a/2012/kang/Makefile +++ b/2012/kang/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-implicit-int -Wno-int-conversion -Wno-pointer-to-int-cast + -Wno-implicit-int -Wno-int-conversion -Wno-pointer-to-int-cast \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2012/konno/Makefile b/2012/konno/Makefile index 88cdba81d..9d4722876 100644 --- a/2012/konno/Makefile +++ b/2012/konno/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-int-conversion -Wno-parentheses -Wno-pointer-to-int-cast \ - -Wno-shift-op-parentheses + -Wno-shift-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2012/omoikane/Makefile b/2012/omoikane/Makefile index 5c25ced69..4904b1e12 100644 --- a/2012/omoikane/Makefile +++ b/2012/omoikane/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body +CSILENCE= -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2012/tromp/Makefile b/2012/tromp/Makefile index 410cfcbf0..778d4f56a 100644 --- a/2012/tromp/Makefile +++ b/2012/tromp/Makefile @@ -40,7 +40,8 @@ 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-int-conversion -Wno-main -Wno-return-type -Wno-unused-parameter \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2013/birken/Makefile b/2013/birken/Makefile index 976736cc7..d05baf43c 100644 --- a/2013/birken/Makefile +++ b/2013/birken/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-newline-eof +CSILENCE= -Wno-newline-eof -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 5ce30ea45..d4f730798 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -43,7 +43,8 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-bool-operation \ -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-pointer-types -Wno-logical-not-parentheses \ -Wno-logical-op-parentheses -Wno-parentheses -Wno-shift-op-parentheses \ - -Wno-sign-compare -Wno-unsequenced -Wno-unused-parameter + -Wno-sign-compare -Wno-unsequenced -Wno-unused-parameter \ + -Wno-deprecated-non-prototype -Wno-return-type # Common C compiler warning flags # diff --git a/2013/dlowe/Makefile b/2013/dlowe/Makefile index 291fe3368..96a28e8ab 100644 --- a/2013/dlowe/Makefile +++ b/2013/dlowe/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-implicit-int -Wno-pedantic +CSILENCE= -Wno-implicit-int -Wno-pedantic -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2013/endoh1/Makefile b/2013/endoh1/Makefile index f3d2631bb..91ba9980e 100644 --- a/2013/endoh1/Makefile +++ b/2013/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/endoh2/Makefile b/2013/endoh2/Makefile index c1efe3734..da80cf4be 100644 --- a/2013/endoh2/Makefile +++ b/2013/endoh2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # @@ -85,7 +85,8 @@ ifeq ($(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-poison-system-directories -Wno-shadow -Wno-missing-variable-declarations \ + -Wno-unknown-warning-option # CWARN+= -Weverything # diff --git a/2013/endoh3/Makefile b/2013/endoh3/Makefile index bb6a6a09d..0a7d73125 100644 --- a/2013/endoh3/Makefile +++ b/2013/endoh3/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-main + -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2013/hou/Makefile b/2013/hou/Makefile index f89818f88..435e24c83 100644 --- a/2013/hou/Makefile +++ b/2013/hou/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-sign-compare +CSILENCE= -Wno-sign-compare -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/mills/Makefile b/2013/mills/Makefile index 2dce9abcb..9b287ef08 100644 --- a/2013/mills/Makefile +++ b/2013/mills/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-bitwise-op-parentheses -Wno-parentheses +CSILENCE= -Wno-bitwise-op-parentheses -Wno-parentheses -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/misaka/Makefile b/2013/misaka/Makefile index b4a0554d6..b17f90426 100644 --- a/2013/misaka/Makefile +++ b/2013/misaka/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-comment -Wno-empty-body +CSILENCE= -Wno-comment -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/morgan1/Makefile b/2013/morgan1/Makefile index 07364fe30..328545d16 100644 --- a/2013/morgan1/Makefile +++ b/2013/morgan1/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-absolute-value -Wno-logical-op-parentheses -Wno-shift-op-parentheses +CSILENCE= -Wno-absolute-value -Wno-logical-op-parentheses -Wno-shift-op-parentheses \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2013/morgan2/Makefile b/2013/morgan2/Makefile index f4b4ef29e..687e8768d 100644 --- a/2013/morgan2/Makefile +++ b/2013/morgan2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-string-plus-int +CSILENCE= -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2014/deak/Makefile b/2014/deak/Makefile index 3b51b5947..fea411c41 100644 --- a/2014/deak/Makefile +++ b/2014/deak/Makefile @@ -85,7 +85,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-float-equal -Wno-missing-variable-declarations \ - -Wno-poison-system-directories + -Wno-poison-system-directories -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2014/endoh1/Makefile b/2014/endoh1/Makefile index 96ff15351..67e1f7431 100644 --- a/2014/endoh1/Makefile +++ b/2014/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body +CSILENCE= -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2014/maffiodo1/Makefile b/2014/maffiodo1/Makefile index 8e0ff3641..2d98c27db 100644 --- a/2014/maffiodo1/Makefile +++ b/2014/maffiodo1/Makefile @@ -41,7 +41,8 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration \ -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types \ -Wno-int-conversion -Wno-missing-field-initializers -Wno-parentheses \ - -Wno-pointer-sign -Wno-return-type -Wno-unused-parameter -Wno-implicit-int + -Wno-pointer-sign -Wno-return-type -Wno-unused-parameter -Wno-implicit-int \ + -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -89,7 +90,8 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-documentation -Wno-extra-semi -Wno-implicit-int \ -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded \ -Wno-pedantic -Wno-poison-system-directories -Wno-shadow \ - -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes + -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ + -Wno-declaration-after-statement -Wno-implicit-int-conversion # CWARN+= -Weverything # diff --git a/2014/maffiodo2/Makefile b/2014/maffiodo2/Makefile index dfc082510..47b5f3adb 100644 --- a/2014/maffiodo2/Makefile +++ b/2014/maffiodo2/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-return-type -Wno-unused-parameter + -Wno-return-type -Wno-unused-parameter -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2014/morgan/Makefile b/2014/morgan/Makefile index 3f9914fc9..80b09f7ef 100644 --- a/2014/morgan/Makefile +++ b/2014/morgan/Makefile @@ -84,7 +84,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2014/sinon/Makefile b/2014/sinon/Makefile index 3123b9003..5877cfe77 100644 --- a/2014/sinon/Makefile +++ b/2014/sinon/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-pointer-arith +CSILENCE= -Wno-pointer-arith -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2014/skeggs/Makefile b/2014/skeggs/Makefile index 8f5237b1f..920410a8e 100644 --- a/2014/skeggs/Makefile +++ b/2014/skeggs/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-format-extra-args -Wno-keyword-macro -Wno-parentheses \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # @@ -87,7 +87,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-class-varargs -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-unused-macros -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2014/wiedijk/Makefile b/2014/wiedijk/Makefile index 1af9dddc7..df82ceb55 100644 --- a/2014/wiedijk/Makefile +++ b/2014/wiedijk/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/burton/Makefile b/2015/burton/Makefile index 8e21c61ce..0bffc6496 100644 --- a/2015/burton/Makefile +++ b/2015/burton/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-char-subscripts -Wno-empty-body -Wno-long-long -Wno-parentheses \ - -Wno-return-type -Wno-unsequenced -Wno-unused-parameter + -Wno-return-type -Wno-unsequenced -Wno-unused-parameter \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/dogon/Makefile b/2015/dogon/Makefile index a2b2ac0bb..0571afcf7 100644 --- a/2015/dogon/Makefile +++ b/2015/dogon/Makefile @@ -40,7 +40,7 @@ include ../../var.mk # 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-shift-op-parentheses -Wno-implicit-int -Wno-strict-prototypes # Common C compiler warning flags # @@ -88,7 +88,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-double-promotion -Wno-float-conversion -Wno-implicit-float-conversion \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2015/duble/Makefile b/2015/duble/Makefile index b486388c4..1e57117d3 100644 --- a/2015/duble/Makefile +++ b/2015/duble/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-op-parentheses -Wno-implicit-int -Wno-int-conversion \ -Wno-logical-op-parentheses -Wno-overlength-strings -Wno-return-type \ -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-unsequenced \ - -Wno-unused-value + -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/endoh1/Makefile b/2015/endoh1/Makefile index 44c849b06..f78697a0e 100644 --- a/2015/endoh1/Makefile +++ b/2015/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/endoh2/Makefile b/2015/endoh2/Makefile index 9ac9ab267..cb067a6c3 100644 --- a/2015/endoh2/Makefile +++ b/2015/endoh2/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration +CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/endoh3/Makefile b/2015/endoh3/Makefile index 2f478f2f6..e101d80c9 100644 --- a/2015/endoh3/Makefile +++ b/2015/endoh3/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-main +CSILENCE= -Wno-main -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/endoh4/Makefile b/2015/endoh4/Makefile index bada2bc73..5334bfc0a 100644 --- a/2015/endoh4/Makefile +++ b/2015/endoh4/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-main -Wno-pedantic -Wno-return-type + -Wno-main -Wno-pedantic -Wno-return-type -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2015/hou/Makefile b/2015/hou/Makefile index 86e7afbab..abf259f6e 100644 --- a/2015/hou/Makefile +++ b/2015/hou/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/howe/Makefile b/2015/howe/Makefile index 8bbed53ba..dfa1bbb92 100644 --- a/2015/howe/Makefile +++ b/2015/howe/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-sign-compare +CSILENCE= -Wno-sign-compare -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/mills1/Makefile b/2015/mills1/Makefile index 88f38bff2..1a9d5e0e6 100644 --- a/2015/mills1/Makefile +++ b/2015/mills1/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses +CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/muth/Makefile b/2015/muth/Makefile index 1ee9f9459..6c7d8bd4b 100644 --- a/2015/muth/Makefile +++ b/2015/muth/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-keyword-macro +CSILENCE= -Wno-keyword-macro -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2015/yang/Makefile b/2015/yang/Makefile index e35e6b12e..89d93999a 100644 --- a/2015/yang/Makefile +++ b/2015/yang/Makefile @@ -87,7 +87,8 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-c99-compat -Wno-comma -Wno-double-promotion -Wno-float-conversion \ -Wno-implicit-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-unreachable-code + -Wno-unreachable-code -Wno-c++98-compat -Wno-old-style-cast \ + -Wno-zero-as-null-pointer-constant # CWARN+= -Weverything # diff --git a/2018/algmyr/Makefile b/2018/algmyr/Makefile index 661ea0121..1db58e843 100644 --- a/2018/algmyr/Makefile +++ b/2018/algmyr/Makefile @@ -86,7 +86,8 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-float-equal -Wno-format-nonliteral \ -Wno-implicit-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2018/anderson/Makefile b/2018/anderson/Makefile index 931f7f761..051abc114 100644 --- a/2018/anderson/Makefile +++ b/2018/anderson/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-unsequenced +CSILENCE= -Wno-unsequenced -Wno-self-assign -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile index 3883c6d99..f53321541 100644 --- a/2018/bellard/Makefile +++ b/2018/bellard/Makefile @@ -40,7 +40,7 @@ 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-return-type -Wno-shift-op-parentheses -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2018/burton1/Makefile b/2018/burton1/Makefile index 8f4b5306f..ddb48312a 100644 --- a/2018/burton1/Makefile +++ b/2018/burton1/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-implicit-int -Wno-main + -Wno-implicit-int -Wno-main -Wno-deprecated-non-prototype # Common C compiler warning flags # diff --git a/2018/ciura/Makefile b/2018/ciura/Makefile index 11834a181..4bc90b374 100644 --- a/2018/ciura/Makefile +++ b/2018/ciura/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-shift-op-parentheses -Wno-unused-value +CSILENCE= -Wno-shift-op-parentheses -Wno-unused-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/endoh1/Makefile b/2018/endoh1/Makefile index 59fab8055..c0ff3461d 100644 --- a/2018/endoh1/Makefile +++ b/2018/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/endoh2/Makefile b/2018/endoh2/Makefile index 7de91c748..60e85553a 100644 --- a/2018/endoh2/Makefile +++ b/2018/endoh2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +CSILENCE+= -Wno-missing-variable-declarations -Wno-poison-system-directories # CWARN+= -Weverything # diff --git a/2018/ferguson/Makefile b/2018/ferguson/Makefile index 4429b4171..0a1d73574 100644 --- a/2018/ferguson/Makefile +++ b/2018/ferguson/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/giles/Makefile b/2018/giles/Makefile index ad53e87f4..c727547a6 100644 --- a/2018/giles/Makefile +++ b/2018/giles/Makefile @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-poison-system-directories -Wno-float-conversion -Wno-missing-prototypes \ - -Wno-missing-variable-declarations -Wno-padded + -Wno-missing-variable-declarations -Wno-padded -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2018/hou/Makefile b/2018/hou/Makefile index 3e66d61fc..80209b3f2 100644 --- a/2018/hou/Makefile +++ b/2018/hou/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-absolute-value +CSILENCE= -Wno-absolute-value -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/mills/Makefile b/2018/mills/Makefile index 82c60478b..68ab5e06f 100644 --- a/2018/mills/Makefile +++ b/2018/mills/Makefile @@ -38,7 +38,8 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-gnu-empty-initializer -Wno-missing-field-initializers +CSILENCE= -Wno-gnu-empty-initializer -Wno-missing-field-initializers \ + -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/poikola/Makefile b/2018/poikola/Makefile index 30589689d..7948427d9 100644 --- a/2018/poikola/Makefile +++ b/2018/poikola/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-comment -Wno-dollar-in-identifier-extension -Wno-string-plus-int \ - -Wno-unused-parameter + -Wno-unused-parameter -Wno-deprecated-non-prototype # Common C compiler warning flags # @@ -87,7 +87,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-date-time -Wno-float-conversion \ -Wno-implicit-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shadow -Wno-sign-conversion + -Wno-shadow -Wno-sign-conversion -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2018/vokes/Makefile b/2018/vokes/Makefile index 91c6952a6..64ac05830 100644 --- a/2018/vokes/Makefile +++ b/2018/vokes/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-deprecated-non-prototype -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2018/yang/Makefile b/2018/yang/Makefile index 2f0498f4b..2ade1ef36 100644 --- a/2018/yang/Makefile +++ b/2018/yang/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2019/adamovsky/Makefile b/2019/adamovsky/Makefile index 4e80e1d3f..bf20cc594 100644 --- a/2019/adamovsky/Makefile +++ b/2019/adamovsky/Makefile @@ -85,7 +85,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-missing-noreturn -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-trigraphs -Wno-unused-macros -Wno-shorten-64-to-32 + -Wno-trigraphs -Wno-unused-macros -Wno-shorten-64-to-32 \ + -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/burton/Makefile b/2019/burton/Makefile index ad0d624c2..046b31fd8 100644 --- a/2019/burton/Makefile +++ b/2019/burton/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ - -Wno-parentheses + -Wno-parentheses -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2019/ciura/Makefile b/2019/ciura/Makefile index 9b8cfa2de..086e25570 100644 --- a/2019/ciura/Makefile +++ b/2019/ciura/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-parentheses -Wno-string-plus-int +CSILENCE= -Wno-empty-body -Wno-parentheses -Wno-string-plus-int -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2019/dogon/Makefile b/2019/dogon/Makefile index fb21b973d..72a830357 100644 --- a/2019/dogon/Makefile +++ b/2019/dogon/Makefile @@ -41,7 +41,8 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-deprecated-declarations -Wno-format -Wno-parentheses \ -Wno-shift-op-parentheses -Wno-sign-compare -Wno-unused-variable \ - -Wno-main-return-type -Wno-return-type -Wno-unused-parameter -Wno-implicit-function-declaration + -Wno-main-return-type -Wno-return-type -Wno-unused-parameter \ + -Wno-strict-prototypes -Wno-implicit-function-declaration # Common C compiler warning flags # @@ -89,7 +90,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-cast-align -Wno-comma -Wno-conditional-uninitialized \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ - -Wno-sign-conversion -Wno-missing-noreturn + -Wno-sign-conversion -Wno-missing-noreturn -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/duble/Makefile b/2019/duble/Makefile index 3953508ca..7989b132d 100644 --- a/2019/duble/Makefile +++ b/2019/duble/Makefile @@ -86,7 +86,9 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-implicit-int-conversion \ + -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-shadow \ + -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2019/endoh/Makefile b/2019/endoh/Makefile index ed4a3aa2c..1759b9169 100644 --- a/2019/endoh/Makefile +++ b/2019/endoh/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2019/giles/Makefile b/2019/giles/Makefile index 0fd0bfd7d..caa95df27 100644 --- a/2019/giles/Makefile +++ b/2019/giles/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body +CSILENCE= -Wno-empty-body -Wno-strict-prototypes # Common C compiler warning flags # @@ -86,7 +86,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-cast-align -Wno-comma -Wno-double-promotion -Wno-format-nonliteral \ -Wno-implicit-float-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-sign-conversion -Wno-strict-prototypes + -Wno-sign-conversion -Wno-strict-prototypes -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/karns/Makefile b/2019/karns/Makefile index ebcf1f63a..f8e14f758 100644 --- a/2019/karns/Makefile +++ b/2019/karns/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-function-pointer-types -Wno-logical-op-parentheses \ -Wno-sign-compare -Wno-tautological-bitwise-compare -Wno-unused-label \ - -Wno-unused-variable + -Wno-unused-variable -Wno-strict-prototypes # Common C compiler warning flags # @@ -88,7 +88,7 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-conditional-uninitialized -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shadow -Wno-shorten-64-to-32 \ - -Wno-sign-conversion + -Wno-sign-conversion -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/lynn/Makefile b/2019/lynn/Makefile index c3d5ae06a..e354b3d4e 100644 --- a/2019/lynn/Makefile +++ b/2019/lynn/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,8 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \ - -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion \ - -Wno-strict-prototypes + -Wno-poison-system-directories -Wno-shadow -Wno-sign-conversion # CWARN+= -Weverything # diff --git a/2019/mills/Makefile b/2019/mills/Makefile index 6bfe1b34a..7bbbbf08e 100644 --- a/2019/mills/Makefile +++ b/2019/mills/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-for-loop-analysis -Wno-missing-field-initializers +CSILENCE= -Wno-for-loop-analysis -Wno-missing-field-initializers -Wno-strict-prototypes # Common C compiler warning flags # @@ -87,7 +87,8 @@ CSILENCE+= -Wno-double-promotion -Wno-float-conversion -Wno-format-nonliteral \ -Wno-implicit-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-strict-prototypes -Wno-vla + -Wno-sign-conversion -Wno-strict-prototypes -Wno-vla \ + -Wno-conditional-uninitialized -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/poikola/Makefile b/2019/poikola/Makefile index 0060ebf1e..400d17110 100644 --- a/2019/poikola/Makefile +++ b/2019/poikola/Makefile @@ -87,7 +87,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-date-time \ -Wno-implicit-int-conversion -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-shorten-64-to-32 -Wno-sign-conversion \ - -Wno-unreachable-code + -Wno-unreachable-code -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2019/yang/Makefile b/2019/yang/Makefile index 4ba3fca6e..02628b59c 100644 --- a/2019/yang/Makefile +++ b/2019/yang/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/carlini/Makefile b/2020/carlini/Makefile index ab00f6bbb..0f3780a38 100644 --- a/2020/carlini/Makefile +++ b/2020/carlini/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-overlength-strings +CSILENCE= -Wno-overlength-strings -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/endoh1/Makefile b/2020/endoh1/Makefile index 0062d7f40..59d0ee610 100644 --- a/2020/endoh1/Makefile +++ b/2020/endoh1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/endoh2/Makefile b/2020/endoh2/Makefile index c38ef5e80..26d14f08e 100644 --- a/2020/endoh2/Makefile +++ b/2020/endoh2/Makefile @@ -86,7 +86,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-conversion -Wno-documentation -Wno-double-promotion \ -Wno-missing-prototypes -Wno-missing-variable-declarations \ -Wno-poison-system-directories -Wno-redundant-parens -Wno-shadow \ - -Wno-sign-conversion + -Wno-sign-conversion -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2020/endoh3/Makefile b/2020/endoh3/Makefile index 85173fec9..b9c7d8cd9 100644 --- a/2020/endoh3/Makefile +++ b/2020/endoh3/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/ferguson1/Makefile b/2020/ferguson1/Makefile index a1663a1eb..ceb324c2f 100644 --- a/2020/ferguson1/Makefile +++ b/2020/ferguson1/Makefile @@ -88,7 +88,8 @@ CC= cc ifeq ($(CC),clang) # CSILENCE= -Wno-unused-value -Wno-misleading-indentation -Wno-parentheses \ - -Wno-unknown-warning-option -Wno-poison-system-directories + -Wno-unknown-warning-option -Wno-poison-system-directories \ + -Wno-declaration-after-statement -Wno-padded # CWARN+= -Weverything # diff --git a/2020/ferguson2/Makefile b/2020/ferguson2/Makefile index daa478f65..fdb7eb9c3 100644 --- a/2020/ferguson2/Makefile +++ b/2020/ferguson2/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-empty-body # Common C compiler warning flags # @@ -83,7 +83,7 @@ CC= cc # ifeq ($(CC),clang) # -CSILENCE= -Wno-implicit-int-conversion -Wno-missing-prototypes \ +CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ -Wno-shorten-64-to-32 # diff --git a/2020/giles/Makefile b/2020/giles/Makefile index 5afe40294..91631d354 100644 --- a/2020/giles/Makefile +++ b/2020/giles/Makefile @@ -85,7 +85,8 @@ ifeq ($(CC),clang) # CSILENCE+= -Wno-disabled-macro-expansion -Wno-float-conversion -Wno-float-equal \ -Wno-missing-variable-declarations -Wno-poison-system-directories \ - -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-shadow -Wno-shorten-64-to-32 -Wno-sign-conversion \ + -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2020/kurdyukov1/Makefile b/2020/kurdyukov1/Makefile index 344a5aca9..d6a4cc423 100644 --- a/2020/kurdyukov1/Makefile +++ b/2020/kurdyukov1/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/kurdyukov3/Makefile b/2020/kurdyukov3/Makefile index 781b8d180..4b3dc3713 100644 --- a/2020/kurdyukov3/Makefile +++ b/2020/kurdyukov3/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-conditional-uninitialized -Wno-poison-system-directories \ - -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-declaration-after-statement # CWARN+= -Weverything # diff --git a/2020/kurdyukov4/Makefile b/2020/kurdyukov4/Makefile index 102ad4463..bfaa0b335 100644 --- a/2020/kurdyukov4/Makefile +++ b/2020/kurdyukov4/Makefile @@ -84,7 +84,7 @@ CC= cc ifeq ($(CC),clang) # CSILENCE+= -Wno-comma -Wno-implicit-int-conversion -Wno-poison-system-directories \ - -Wno-shorten-64-to-32 -Wno-sign-conversion + -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-unused-macros # CWARN+= -Weverything # diff --git a/2020/otterness/Makefile b/2020/otterness/Makefile index f09e81333..7101a11ad 100644 --- a/2020/otterness/Makefile +++ b/2020/otterness/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= +CSILENCE= -Wno-strict-prototypes # Common C compiler warning flags # diff --git a/2020/tsoj/Makefile b/2020/tsoj/Makefile index aef365109..7507f62cb 100644 --- a/2020/tsoj/Makefile +++ b/2020/tsoj/Makefile @@ -38,7 +38,7 @@ include ../../var.mk # Common C compiler warnings to silence # -CSILENCE= -Wno-empty-body -Wno-missing-field-initializers +CSILENCE= -Wno-empty-body -Wno-missing-field-initializers -Wno-strict-prototypes # Common C compiler warning flags # @@ -86,7 +86,7 @@ ifeq ($(CC),clang) CSILENCE+= -Wno-comma -Wno-float-conversion -Wno-implicit-float-conversion \ -Wno-missing-prototypes -Wno-poison-system-directories -Wno-shadow \ -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-strict-prototypes \ - -Wno-vla + -Wno-vla -Wno-declaration-after-statement # CWARN+= -Weverything #