Re: gcc 4.6 warnings -Wunused-but-set-variable - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: gcc 4.6 warnings -Wunused-but-set-variable
Date
Msg-id 1303923425.16013.4.camel@vanquo.pezone.net
Whole thread Raw
In response to gcc 4.6 warnings -Wunused-but-set-variable  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On tis, 2011-03-29 at 23:48 +0300, Peter Eisentraut wrote:
> As you might have heard, GCC 4.6 was released the other day.  It
> generates a bunch of new warnings with the PostgreSQL source code, most
> of which belong to the new warning scenario -Wunused-but-set-variable,
> which is included in -Wall.

In case someone else tries that, I have filed a bug with GCC regarding
some of the other warnings:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48778



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)
Next
From: Magnus Hagander
Date:
Subject: Re: timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)