Subject: Re: gcc warning
To: None <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
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.