Re: bool: symbol name collision

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: bool: symbol name collision
Дата
Msg-id 1273496948.11359.26.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: bool: symbol name collision  (Greg Stark <gsstark@mit.edu>)
Ответы Re: bool: symbol name collision  (bryanh@giraffe-data.com (Bryan Henderson))
Список pgsql-bugs
On mån, 2010-05-10 at 02:02 +0100, Greg Stark wrote:
> I don't see any other conflicts offhand that would create problems
> using a c99 compiler to build server modules. It's quite annoying and
> sad that they added "bool" to c99 since otherwise it would just be a
> drop-in replacement with extra functionality and very low risk of
> conflicts. Instead they virtually guaranteed conflicts with any large
> software over a single define.

For that reason they put it into a separate header file stdbool.h that
no one is required to include.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: bool: symbol name collision
Следующее
От: Pavel Golub
Дата:
Сообщение: Re: BUG #5451: pg_restore doesn't close input .tar archive