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


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?


CPP is another one of those places where as far as I can tell we provide far more options (and thus have much more complexity) than most other compilers. That's both good and bad, naturally.

Before we add this additional knob, is there any implementation precedent out there? If so, how does it work? If not, why not?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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