Re: 7.4 include file conflict - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: 7.4 include file conflict
Date
Msg-id 200312170000.hBH00Po13927@candle.pha.pa.us
Whole thread Raw
In response to Re: 7.4 include file conflict  (Michael Meskes <meskes@postgresql.org>)
Responses Re: 7.4 include file conflict
List pgsql-hackers
Michael Meskes wrote:
> On Tue, Dec 16, 2003 at 02:01:51PM -0500, Bruce Momjian wrote:
> > Maybe that fixes the Red Hat issue, but we have the Cygwin issue with
> > Win32's sqltypes.h, and there is the issue for other platforms, no?   Is
> > that install change going to be for all platforms?
> 
> The problem as I see it is that some software installs an include file
> with the same name into /usr/include. So if you specify -I
> /usr/include/pgsql/ecpg you still essantially override this file. Now
> the question is whether anyone would have to use the ecpg sqltypes.h and
> the other one, be it a windows file or th unixodbc or the iodbc one.

Are you saying some programs will look in /usr/include before looking in
-I specified directories, and that is the whole problem?  If so, that is
100% wrong and we don't have to fix our files to workaround this.

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


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: [pgsql-hackers-win32] [PATCHES] fork/exec patch
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Double Backslash example patch