This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/6720: compile error using stl extensions
- From: paolo at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jblinka at neo dot rr dot com, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org
- Date: 19 May 2002 14:57:00 -0000
- Subject: Re: libstdc++/6720: compile error using stl extensions
- Reply-to: paolo at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jblinka at neo dot rr dot com, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: compile error using stl extensions
Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun May 19 07:56:59 2002
Responsible-Changed-Why:
Triaged.
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Sun May 19 07:56:59 2002
State-Changed-Why:
Does changing -I to -idirafter solve the problem for you? E.g.:
g++ -o a -idirafter/usr/local/lang/gcc/include/g++-v3/ext a.cc
Thanks for your report, Paolo.
P.S. Notice that, from the manual: "... It is dangerous to specify a standard system include directory in -I option. This defeats the special treatment of system headers."
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6720