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

From Michael Meskes
Subject Re: 7.4 include file conflict
Date
Msg-id 20031216190844.GA2401@1
Whole thread Raw
In response to Re: 7.4 include file conflict  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: 7.4 include file conflict  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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.

Does anyone know how Informix, where this file comes from, handles this?

Would it be a solution to just move the compat headers out of the main
include dir? 

michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 7.4 include file conflict
Next
From: "Dann Corbit"
Date:
Subject: Re: [pgsql-hackers-win32] [PATCHES] fork/exec patch