This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13587] Misleading error message


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]