Bug#352859: cpp: -iquote behaves wrong but -I- still works correct
On Tue, 2006-02-14 at 19:45 +0100, Mathias Krause wrote:
> The preprocessor from gcc 4.0.x behaves wrong when using the "-iquote"
> option as recommended by a warning when using "-I-".
The documentation states:
In addition, `-I-' inhibits the use of the directory of the current
file directory as the first search directory for `#include "FILE"'.
I believe that this is the behavior you are relying on. The -iquote
option does not do this, nor can I find an alternative switch that does
so.
A quick google search of "site:gcc.gnu.org iquote" finds a good chunk of
relevant information. Please check it out.
Anyway, gcc is behaving as documented, AFAICT. You may wish to
re-purpose this bug as a wishlist "Please undeprecate -I-" or somesuch.
Thanks,
- Jeremy
Reply to: