Re: Sun Studio compiler warnings

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Sun Studio compiler warnings
Дата
Msg-id 603c8f070810301804j7f166cbckc6dfd3ce9af47d23@mail.gmail.com
обсуждение исходный текст
Ответ на Sun Studio compiler warnings  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Sun Studio compiler warnings
Список pgsql-hackers
> The closing semicolon is strictly speaking not allowed here.  We could
> remove it, but that would probably upset pgindent?
>
> I recall that we used to have a bunch of similar problems with the AIX
> compilers a long time ago.  Does anyone recall the solution, and do we still
> care?  (Note that it's only a warning in this case.)

How about the good old

do {
...
} while (0)

trick?

...Robert


В списке pgsql-hackers по дате отправления: