This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13587] Misleading error message
- 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: 6 Jan 2004 18:33:00 -0000
- Subject: [Bug c++/13587] Misleading error message
- References: <20040106182113.13587.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-06 18:32 -------
pr13587.cc:5: error: specializing `struct Hide::Foo<c, int>' in different namespace
pr13587.cc:2: error: from definition of `template<class a, class b> struct Hide::Foo'
No the error message is correct you have to be in the same namespace when specializing.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |RESOLVED
Keywords| |diagnostic
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13587