Subject: Re: KNF and braces (was: Re: EGCS 1.1 UPDATE rev. 4)
To: Chris G. Demetriou <cgd@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 08/18/1998 12:20:52
#4 has my vote!  :)


On 18 Aug 1998, Chris G. Demetriou wrote:

> 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/
> 

-----------------------------------------------------------------------------
| Paul Goyette      | Public Key fingerprint:    | E-mail addresses:        |
| Network Engineer  |   0E 40 D2 FC 2A 13 74 A0  |  paul@whooppee.com       |
| and kernel hacker |   E4 69 D5 BE 65 E4 56 C6  |  paul.goyette@ascend.com |
-----------------------------------------------------------------------------