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.
--
Summary: Bug 19541 is still not resolved in 4.3.0
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ISPARRY at BROCADE dot COM
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34855