Subject: Re: gcc warning
To: None <prlw1@cam.ac.uk>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: current-users
Date: 08/19/1999 08:03:03
On Wed, Aug 18, 1999 at 04:52:46PM +0100, Patrick Welche wrote:
> cc1: warnings being treated as errors
> ../../../../filecorefs/filecore_lookup.c: In function `filecore_lookup':
> ../../../../filecorefs/filecore_lookup.c:331: warning: suggest parentheses around assignment used as truth value
> *** Error code 1
> 
> Easy to fix. I thought those warnings where switched off (this is on i386),
No, it was:
> or was it uninitialised variable warnings?

Warnings like the above are created because that code might indicate a 
frequent typo (= vs ==). Yes, they can be a PITA, but they help sometimes.
Please let them in.

	-is