Skip site navigation (1) Skip section navigation (2)

Borland c++ compile problems...

From: Steve Holdoway <steve(at)treshna(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Borland c++ compile problems...
Date: 2004-07-21 02:20:33
Message-ID: 40FDD2F1.3040509@treshna.com (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
Hi folks,

It seems that Borland C++ ( I'm using the command line version 5.5 ) 
takes exception to #defines like the following...

#define open(a, b...) win32_open ( a, b, ##__VA_ARGS__ )
  [ to be found in port.h on the current development snapshot ]

This causes compilation to fail. I'm after a version of blibpq.dll that 
supports ssl connections, and the one I compiled previously ( 7.4.2 I 
think ) doesn't seem to.

Can anyone suggest a solution. I speak C fluently... it's this pesky 
windows stuff that causes me grief!

Cheers,

Steve

Responses

pgsql-patches by date

Next:From: Mark KirkwoodDate: 2004-07-21 02:27:49
Subject: Re: PITR COPY Failure (was Point in Time Recovery)
Previous:From: Christopher Kings-LynneDate: 2004-07-21 01:41:37
Subject: Re: [HACKERS] Point in Time Recovery

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2004-07-21 03:08:09
Subject: Re: Borland c++ compile problems...
Previous:From: Bruce MomjianDate: 2004-07-20 20:59:32
Subject: Re: win2k, service, pg_ctl, popen, etc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group