Re: [INTERFACES] Postgre Perl on WIN NT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] Postgre Perl on WIN NT
Дата
Msg-id 28094.920559580@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgre Perl on WIN NT  ("Christopher R. Jones" <cj@interlog.com>)
Список pgsql-interfaces
"Christopher R. Jones" <cj@interlog.com> writes:
> I am trying to build the Perl module in WINNT with VC++ 6.0.
> Unfortunately, VC++ has reserved the work "keyword" which is defined in
> libgg-fe.h:

(rolls eyes...)  Microsoft have never been too concerned about adherence
to standards, have they?

> typedef struct _PQconninfoOption
> {
> char   *keyword;

Unfortunately PQconninfoOption is part of the exported API of libpq,
so if I rename that field I can expect to break existing application
code :-(.  I'm not eager to do that.  If it were a strictly internal
change then renaming the field would be OK.

You might look at VC's compiler switches to see if it has a mode
where it actually compiles ANSI C++, and not some other language.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] libpq++ - copy - default values
Следующее
От: "Pavel PaJaSoft Janousek"
Дата:
Сообщение: ECPG & 'exec sql connect to' question