Subject: Re: KNF and braces (was: Re: EGCS 1.1 UPDATE rev. 4)
To: <>
From: Simon Burge <simonb@telstra.com.au>
List: current-users
Date: 08/20/1998 08:38:21
On Wed, 19 Aug 1998 16:49:27 -0400 (EDT)  der Mouse wrote:

> > (1) in order to follow KNF, bsd.sys.mk and kernel Makefiles will use
> >     -Wno-parentheses after -Wall
> 
> "Eww, ick".  In particular, that loses you all the other benefits of
> -Wparentheses, such as the *paretheses* warnings, which have saved me
> from a precedence screw more than once.

I guess implementing a -Wno-braces is not worth the effort?


Just on KNF for a moment, should the comment:

	/*
	 * If a function type is declared, it should be on a line
	 * by itself preceeding the function.
	 */

be changed to:

	/*
	 * Function type must be declared, on a line
	 * by itself preceeding the function.
	 */

?

Simon.