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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: add -Wlogical-op to standard compiler options?
Date: 2012-11-15 21:58:23
Message-ID: 23554.1353016703@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On 11/15/12 9:40 AM, Tom Lane wrote:
>> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>>> I think it might be worth adding -Wlogical-op to the standard warning
>>> options (for supported compilers, determined by configure test).

>> Does that add any new warnings with the current source code, and if
>> so what?

> none

No objection from me then.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2012-11-15 22:08:47 Re: another idea for changing global configuration settings from SQL
Previous Message Darren Duncan 2012-11-15 21:55:00 Re: feature proposal - triggers by semantics