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

Re: Borland c++ compile problems...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Steve Holdoway <steve(at)treshna(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Borland c++ compile problems...
Date: 2004-07-21 03:08:09
Message-ID: 200407210308.i6L389J13710@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
OK, patch attached that fixes it.  Should that define just check for GCC
instead of checking if the compiler isn't MS or Borland?

---------------------------------------------------------------------------

Steve Holdoway wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-patches by date

Next:From: Philip WarnerDate: 2004-07-21 03:21:58
Subject: Re: Patch for pg_dump: Multiple -t options and new
Previous:From: Bruce MomjianDate: 2004-07-21 03:07:19
Subject: Re: logfile subprocess and Fancy File Functions

pgsql-hackers-win32 by date

Next:From: chips42Date: 2004-07-21 03:40:48
Subject: FAT or NTFS on W2k
Previous:From: Steve HoldowayDate: 2004-07-21 02:20:33
Subject: Borland c++ compile problems...

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