[Bug c++/13549] [3.4 Regression] Regression compiling Boost.Python test
dave at boost-consulting dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 3 02:55:00 GMT 2004
------- Additional Comments From dave at boost-consulting dot com 2004-01-03 02:55 -------
It's not that simple. There are two searches, one at the point of definition
and another at the point of instantiation. One way to read this is that in my
little example, the first search finds the "f" that's defined there. Since
there has been no instantiation of g, the second search is never performed in
the little example. In the testcase, the required definition of "get" shows
up before the point of instantiation.
Incidentally, not only ICC6 but also EDG's latest compiler accepts this code
(http://www.comeaucomputing.com/tryitout). EDG's Steve Adamczyk is sometimes
known as "Mr. name lookup", so maybe you should ask him.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549
More information about the Gcc-bugs
mailing list