Email List: Xaustin-group-lX
[All Lists]

Re: c99 -I option and GCC

To: austin-group-l@xxxxxxxxxxxxx
Subject: Re: c99 -I option and GCC
From: Vincent Lefevre <vincent-opgr@xxxxxxxxxx>
Date: Mon, 3 Aug 2009 02:56:38 +0200
Mail-followup-to: austin-group-l@opengroup.org
References: <20090731094755.GA22936@squonk.masqnet><MJBBLAAECCIFDIELHMCJIEOKIDAD.davids@webmaster.com><20090802170440.GO1799@prunille.vinc17.org><4a75df96.77nZTAS4pr04C+NK%Joerg.Schilling@fokus.fraunhofer.de>
On 2009-08-02 20:48:54 +0200, Joerg Schilling wrote:
> From your problem description, it seems as the cause for your
> problems is the fact that some people install private include files
> into a directory that is claimed to be a "system include dir" by the
> vendor.

No, the problem is that system include directories cannot be reordered
by GCC.

> If this is true, how could this mailing list help?

POSIX allows *any* include directories to be reordered, thanks to
the -I option. But this is not taken into account by GCC and in a
comment of my bug report, it has been said that the defect is in
POSIX.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

<Prev in Thread] Current Thread [Next in Thread>