Re: 7.4 include file conflict

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Meskes <meskes(at)postgresql(dot)org>, 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-16 19:08:44
Message-ID: 20031216190844.GA2401@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2003-12-16 19:17:11 Re: Double Backslash example patch
Previous Message Bruce Momjian 2003-12-16 19:01:51 Re: 7.4 include file conflict