Subject: Re: KNF and braces (was: Re: EGCS 1.1 UPDATE rev. 4)
To: Chris G. Demetriou <cgd@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 08/18/1998 14:48:49
On 18 Aug 1998, Chris G. Demetriou wrote:

: [ because the horse is not yet a thin red paste.]

Heh.

: 	if (c1) {
: 		if (c2) {
: 			s1;
: 		} else {
: 			s2;
: 		}
: 	}
: 
: is better.

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

I prefer (1).

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)