This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add -iquote support


On Monday, May 3, 2004, at 01:10 PM, Mark Mitchell wrote:
Mike Stump wrote:

We need a way for a user to be able to use a conflicting header file in their project, as well as on the system and #include <> to get the system one, and #include "" to get their local one.

Is there any other compiler out there that provides this functionality?

In addition to metroworks, I believe gcc (Apple's gcc) on darwin provides this functionality in conjunction with PB/xcode.


Before we add this additional knob, is there any implementation precedent out there?

That is the _only_ thing driving this _feature_. If we didn't care about existing uses (users), we could dodge the issue and not provide it.



Another solution would be to change -I- to not so disable current dir searching, that would allow us to use -I-, but, that has the cost of potentially breaking older uses of -I-. I don't think I like this solution, but others might.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]