Re: SPI-header-files safe for C++-compiler

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: SPI-header-files safe for C++-compiler
Дата
Msg-id 1182992087.26843.24.camel@dell.linuxdev.us.dell.com
обсуждение исходный текст
Ответ на Re: SPI-header-files safe for C++-compiler  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: SPI-header-files safe for C++-compiler  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: SPI-header-files safe for C++-compiler
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SPI-header-files safe for C++-compiler