Re: bool: symbol name collision

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: bool: symbol name collision
Дата
в 14:01:33
Msg-id
z2w407d949e1005091001q44a6dfebocbf9e4028c4c2fbb@mail.gmail.com
Ответ на
Список
Дерево обсуждения
bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision Tom Lane <tgl@sss.pgh.pa.us>
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision Tom Lane <tgl@sss.pgh.pa.us>
Re: bool: symbol name collision Greg Stark <gsstark@mit.edu>
Re: bool: symbol name collision Tom Lane <tgl@sss.pgh.pa.us>
Re: bool: symbol name collision Greg Stark <gsstark@mit.edu>
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision Robert Haas <robertmhaas@gmail.com>
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision Alex Hunsaker <badalex@gmail.com>
Re: bool: symbol name collision Tom Lane <tgl@sss.pgh.pa.us>
Re: bool: symbol name collision Robert Haas <robertmhaas@gmail.com>
Re: bool: symbol name collision bryanh@giraffe-data.com (Bryan Henderson)
Re: bool: symbol name collision Tom Lane <tgl@sss.pgh.pa.us>
Re: bool: symbol name collision Greg Stark <gsstark@mit.edu>
Re: bool: symbol name collision Peter Eisentraut <peter_e@gmx.net>
Re: bool: symbol name collision Greg Stark <gsstark@mit.edu>
On Sun, May 9, 2010 at 5:58 PM, Tom Lane  wrote:
> Yeah, I know those #if's are there, but whether they actually do
> anything useful is highly questionable. =A0There is no reason to assume
> that a compiler's built-in version of bool will be bit-compatible with
> ours. =A0And changing the width of bool is guaranteed to Not Work.
>

Supporting C++ in the server would be a big task, but supporting C99,
it seems to me, would only require we rename our "bool" "true" and
"false" defines. The only other C99 keyword or typedef we use is
"inline" for which I don't understand the issues yet.

--=20
greg
В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ