Re: new compile warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: new compile warning
Дата
Msg-id 6652.1059962134@sss.pgh.pa.us
обсуждение исходный текст
Ответ на new compile warning  (Joe Conway <mail@joeconway.com>)
Ответы Re: new compile warning  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [ADMIN] concat_ws
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Release changes