Re: C++ Headers

Поиск
Список
Период
Сортировка
От Myron Scott
Тема Re: C++ Headers
Дата
Msg-id 3B06A8E7.EA776382@sacadia.com
обсуждение исходный текст
Ответ на C++ Headers  (mlw <markw@mohawksoft.com>)
Ответы Re: C++ Headers  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> mlw <markw@mohawksoft.com> writes:
> > Is any support for reworking the postgres headers such that they can be used,
> > cleanly, in a C++ program?
>
> You'll get no support for a request for a blank check.  What do you have
> in mind exactly?
>
> ISTM that making the backend's internal headers C++-clean has already
> been looked into, but rejected on grounds that I don't recall clearly.
> Check the list archives.
>

I have used:
   #ifdef __cplusplus   extern "C" {   #endif
   headers......


   #ifdef __cplusplus   }   #endif


on many backend header files for use
on my threaded version of postgres.
I seems to work fine as I have not had any problems
yet.


Myron Scott






В списке pgsql-hackers по дате отправления:

Предыдущее
От: mlw
Дата:
Сообщение: Re: External search engine, advice
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: C++ Headers