libstdc++/6671: ext search path

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sun May 19 08:48:00 GMT 2002


Synopsis: ext search path

State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sun May 19 08:48:29 2002
State-Changed-Why:
    Hi.
    I see two issues here:
    1- If all is needed is a shorter access to the old STL extensions (those exisiting in ext when the doc you mention was written, i.e., hash_map, hash_set, rope, slist) then the solution is simply using -idirafter instead of -I (see libstdc++/6720). This allows to write safely <hash_map> (and still <iostream>, of course, as in your testcase).
    2- OTOH, in this case <ext/memory>, f.i., must still be written in full in order to disambiguate it from <memory>.
    In order to solve the latter problem, the only solution I see is renaming the new extension bits to something different.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6671



More information about the Gcc-bugs mailing list