Peter Eisentraut <peter_e@gmx.net> writes:
> On sön, 2010-05-09 at 11:35 -0400, Tom Lane wrote:
>> ... we consider building server extensions with C++ to be
>> unsupported anyway.
> Um, our code has
> #ifndef __cplusplus
> #ifndef bool
> typedef char bool;
> #endif
> etc.
Yeah, I know those #if's are there, but whether they actually do
anything useful is highly questionable. There is no reason to assume
that a compiler's built-in version of bool will be bit-compatible with
ours. And changing the width of bool is guaranteed to Not Work.
regards, tom lane