Re: [INTERFACES] Postgre Perl on WIN NT - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] Postgre Perl on WIN NT
Date
Msg-id 28094.920559580@sss.pgh.pa.us
Whole thread Raw
In response to Postgre Perl on WIN NT  ("Christopher R. Jones" <cj@interlog.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] libpq++ - copy - default values
Next
From: "Pavel PaJaSoft Janousek"
Date:
Subject: ECPG & 'exec sql connect to' question