Re: silence GCC4 warning - Mailing list pgsql-patches

From Tom Lane
Subject Re: silence GCC4 warning
Date
Msg-id 8827.1120535104@sss.pgh.pa.us
Whole thread Raw
In response to Re: silence GCC4 warning  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> Peter Eisentraut wrote:
>> A simple test shows that this is not the case, even with lots of -W
>> options.

> Right -- AFAICS we only get the following warnings of this class with
> GCC 4.0 on current sources:

Hmm ... my comments were based on experiments with a prerelease gcc4
that was circulating inside Red Hat; IIRC it showed some hundreds of
warnings of this type on the PG sources :-(.  It sounds like they've
improved it somewhat, but I'm still not clear on what it is warning
about that prior releases did not.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum integration patch
Next
From: omar@tinysofa.org
Date:
Subject: INSERT ... RETURNING