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 14:40:41
Message-ID: 14721.1352990441@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:
> 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?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-11-15 14:47:35 Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader
Previous Message Heikki Linnakangas 2012-11-15 14:22:56 Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader