Re: 7.4 include file conflict

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Peter Eisentraut <peter_e(at)gmx(dot)net>, aspeitia(at)sells(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4 include file conflict
Date: 2003-12-17 00:00:25
Message-ID: 200312170000.hBH00Po13927@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-17 00:12:29 Re: fork/exec patch
Previous Message Hannu Krosing 2003-12-16 23:08:25 Re: [pgsql-hackers-win32] [PATCHES] fork/exec patch