This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19541] need another option to support what -I- did just besides -iquote
- From: "ISPARRY at BROCADE dot COM" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 00:53:38 -0000
- Subject: [Bug c/19541] need another option to support what -I- did just besides -iquote
- References: <bug-19541-8743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ISPARRY at BROCADE dot COM 2008-01-19 00:53 -------
(In reply to comment #8)
> Changing component; the patch here doesn't touch the preprocessor at all.
>
If you are changing the component, would not a better choice be "driver" than
"c"?
I agree the patch does not touch the preprocessor code, but from a user point
of view it is a preprocessor issue. The 4.2.2 manuals say in section 3.11 that
"The preprocessor's direct interface is undocumented and subject to change, so
whenever possible you should avoid using -Wp and let the driver handle the
options instead." A user could reasonably (but wrongly) assume that the driver
passes options like -I to the preprocessor.
If you are changing the component, then can you change the severity to
something more suitable than "enhancment" at the same time? Whilst I am all in
favour of emitting warnings about obsolete features, until there is a working
replacement for -I- it is a bug to complain that it is deprecated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541