Re: SPI-header-files safe for C++-compiler - Mailing list pgsql-patches

From Neil Conway
Subject Re: SPI-header-files safe for C++-compiler
Date
Msg-id 1182992087.26843.24.camel@dell.linuxdev.us.dell.com
Whole thread Raw
In response to Re: SPI-header-files safe for C++-compiler  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: SPI-header-files safe for C++-compiler
List pgsql-patches
On Wed, 2007-06-27 at 20:51 -0400, Andrew Dunstan wrote:
> He's used the usual "#ifdef __cplusplus" wrapper - isn't that good enough?

Well, there's nothing wrong with it per se, I'm just wondering (1) what
the proper set of headers to add it to is -- the patch just does a
handful (2) whether we need to bother doing it at all -- can't clients
do the extern "C" trick before including any Postgres headers?

-Neil



pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: SPI-header-files safe for C++-compiler
Next
From: Tom Lane
Date:
Subject: Re: SPI-header-files safe for C++-compiler