Re: 7.4 include file conflict

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: 7.4 include file conflict
Дата
Msg-id 20031216190844.GA2401@1
обсуждение исходный текст
Ответ на Re: 7.4 include file conflict  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: 7.4 include file conflict  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.4 include file conflict
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: [pgsql-hackers-win32] [PATCHES] fork/exec patch