Re: [HACKERS] new compile warning

2003-08-03 Thread Bruce Momjian
Tom Lane wrote: > Joe Conway <[EMAIL PROTECTED]> 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 co

Re: [HACKERS] new compile warning

2003-08-03 Thread Tom Lane
Joe Conway <[EMAIL PROTECTED]> 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