Subject: Re: KNF and braces (was: Re: EGCS 1.1 UPDATE rev. 4)
To: Todd Vierling <tv@pobox.com>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-toolchain
Date: 08/18/1998 11:51:21
Todd Vierling <tv@pobox.com> writes:
> I agree.  What I'm getting at is that we need to decide between one of the
> following alternatives so that builds do not break:
> 
> (1) in order to follow KNF, bsd.sys.mk and kernel Makefiles will use
>     -Wno-parentheses after -Wall
> 
> (2) KNF will be changed to match such warning
> 
> (3) this brace warning will be removed from -Wall

Or, add the following alternative to get "the right thing" (by my
def'n 8-):

  (4) KNF will be changed so that fully-braced blocks are encouraged.

8-)


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
Plug: Get your official NetBSD-1.3.2 CDROM set today! http://www.netbsd.com/