Skip site navigation (1) Skip section navigation (2)

Re: bool: symbol name collision

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bryan Henderson <bryanh(at)giraffe-data(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: bool: symbol name collision
Date: 2010-05-10 13:09:08
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.

In response to


pgsql-bugs by date

Next:From: Pavel GolubDate: 2010-05-10 14:06:25
Subject: Re: BUG #5451: pg_restore doesn't close input .tar archive
Previous:From: Peter EisentrautDate: 2010-05-10 12:39:13
Subject: Re: bool: symbol name collision

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group