This is bug 19541, but being reported against 4.3.0.
Still a problem in 4.3.using Debian unstable packages
gcc --version gives gcc-4.3 (Debian 4.3-20080116-1) 4.3.0 20080116 (experimental) [trunk revision 131577]
Can we either get the "ignore-source-dir" patch added to the mainline, or else remove the "-I- is deprecated" warning? Clearly there are uses for -I-, as the mailing list thread shows.
*** Bug 34857 has been marked as a duplicate of this bug. ***
And that bug is still opened.
*** This bug has been marked as a duplicate of 19541 ***
(In reply to comment #2)
> And that bug is still opened.
> *** This bug has been marked as a duplicate of 19541 ***
Yes. 3 years after a fix is available, and 3 releases of gcc, the bug is still open. Can we get it closed please?
(In reply to comment #4)
> Patches welcome.
Ceratinly. I can either up-rev the patch posted in http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01197.html or I can do a patch to undo the deprecation of -I-. Which stands any chance of being accepted?
My preference is to undo the deprecation of -I-, as it is used by other compilers.