Re: gcc 4.6 warnings -Wunused-but-set-variable

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: gcc 4.6 warnings -Wunused-but-set-variable
Date: 2011-04-27 16:57:05
Message-ID: 1303923425.16013.4.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-04-27 17:17:50 Re: timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)
Previous Message Peter Eisentraut 2011-04-27 16:55:56 timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)