This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20578] Problem with templates
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2005 15:32:52 -0000
- Subject: [Bug c++/20578] Problem with templates
- References: <20050321152928.20578.mah@systematic.dk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-21 15:32 -------
No this should not compile. a is not dependent so it needs to be looked up at the point of the
definition and not instaination.
Read the 3.4.x release notes to figure out how to fix your code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20578