Re: bool: symbol name collision - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: bool: symbol name collision
Date
Msg-id 1273496948.11359.26.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: bool: symbol name collision  (Greg Stark <gsstark@mit.edu>)
Responses Re: bool: symbol name collision  (bryanh@giraffe-data.com (Bryan Henderson))
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: bool: symbol name collision
Next
From: Pavel Golub
Date:
Subject: Re: BUG #5451: pg_restore doesn't close input .tar archive