pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgre Perl on WIN NT
3+ messages / 3 participants
[nested] [flat]
* Postgre Perl on WIN NT
@ 1999-03-04 13:50 Christopher R. Jones <cj@interlog.com>
0 siblings, 2 replies; 3+ messages in thread
From: Christopher R. Jones @ 1999-03-04 13:50 UTC (permalink / raw)
To: pgsql-interfaces
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:
typedef struct _PQconninfoOption
{
char *keyword;
char *envvar;
char *compiled;
char *val;
char *label;
char *dispchar;
int dispsize;
} PQconninfoOption;
I must not be the first to bang up against error. Any hints?
Will it compile with the Borland 5.0 compiler?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] Postgre Perl on WIN NT
@ 1999-03-04 14:09 Randall W. Barrett <rbarr@shadow.net>
parent: Christopher R. Jones <cj@interlog.com>
1 sibling, 0 replies; 3+ messages in thread
From: Randall W. Barrett @ 1999-03-04 14:09 UTC (permalink / raw)
To: Christopher R. Jones <cj@interlog.com>; +Cc: pgsql-interfaces
Christopher,
Why don't you try compiling it with the Cygwin32 compiler...
http://www.cygnus.com
Randy
On Thu, 4 Mar 1999, Christopher R. Jones wrote:
> 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:
> typedef struct _PQconninfoOption
> {
> char *keyword;
> char *envvar;
> char *compiled;
> char *val;
> char *label;
> char *dispchar;
> int dispsize;
> } PQconninfoOption;
>
> I must not be the first to bang up against error. Any hints?
>
> Will it compile with the Borland 5.0 compiler?
>
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] Postgre Perl on WIN NT
@ 1999-03-04 14:59 Tom Lane <tgl@sss.pgh.pa.us>
parent: Christopher R. Jones <cj@interlog.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 1999-03-04 14:59 UTC (permalink / raw)
To: Christopher R. Jones <cj@interlog.com>; +Cc: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1999-03-04 14:59 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-03-04 13:50 Postgre Perl on WIN NT Christopher R. Jones <cj@interlog.com>
1999-03-04 14:09 ` Randall W. Barrett <rbarr@shadow.net>
1999-03-04 14:59 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox