This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15144] Template instantiation can't find symbol in global namespace
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2004 19:41:53 -0000
- Subject: [Bug c++/15144] Template instantiation can't find symbol in global namespace
- References: <20040426100115.15144.stefan.rupp@inform-ac.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jason at gcc dot gnu dot org 2004-05-10 19:41 -------
While I'm not sure whether or not this is a bug, Koenig lookup is irrelevant to
the discussion. There are other cases in which non-Koenig lookup is done at
instantiation time, such as the T::baz example mentioned; the question is
whether or not that should apply to this testcase.
I note that EDG 3.4 accepts the testcase, and they have spent more time on
implementing two-phase lookup than anyone.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15144