Re: add -Wlogical-op to standard compiler options?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: add -Wlogical-op to standard compiler options?
Date: 2012-11-23 21:28:07
Message-ID: 1353706087.4992.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2012-11-21 at 11:46 -0800, Jeff Janes wrote:
> Using gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4), I get dozens of
> warnings, all apparently coming from somewhere in the MemSet macro.

OK, reverted.

It looks like they dialed it down to a more useful volume in GCC 4.5,
but that doesn't really help us.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-11-23 21:42:36 Re: autovacuum truncate exclusive lock round two
Previous Message Dimitri Fontaine 2012-11-23 20:36:05 Re: review: Deparsing DDL command strings