Re: new compile warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: new compile warning
Date
Msg-id 6652.1059962134@sss.pgh.pa.us
Whole thread Raw
In response to new compile warning  (Joe Conway <mail@joeconway.com>)
Responses Re: new compile warning
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> plpython.c: In function `plpython_call_handler':
> plpython.c:354: warning: suggest explicit braces to avoid ambiguous `else'

Apparently the Python boys are not familiar with the do {...} while (0)
trick to ensure that a macro containing C statements won't interact with
its environment.  I'll put back the braces that pgindent removed, but
someone should file a bug report against Py_DECREF().
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: [ADMIN] concat_ws
Next
From: Joe Conway
Date:
Subject: Re: Release changes