Subject: Re: -Wno-parenthesis
To: Ross Harvey <firstname.lastname@example.org>
From: John F. Woods <email@example.com>
Date: 06/06/1999 17:24:35
> I know, C has too many operator priority levels, and I know, some of them
> are peculiar, such as + - over << >>. But -Wparentheses is too strict,
> e.g., it complains about not grouping && instructions just because there
> is an ||.
A mistake I make on rare occasion, and I've been using C for 20 years.
> Really, though, you shouldn't be hacking the kernel if you don't even know
> the C basics. ... Plus, redundant parens are prohibited in KNF.
I'd be a lot more impressed with KNF if it valued correctness over machismo.