Andrew Dunstan <andrew@dunslane.net> wrote:
> [assign to local variable and then `(void) varname;` to avoid "unused" warning]
> This is the only thing that I have found to work with very recent gcc. Seems
> ugly. Anyone got a better idea?
That seems to be what we've used elsewhere.
http://www.postgresql.org/message-id/24446.1318973105@sss.pgh.pa.us
--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company