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++/11907] confusing message when using a class template instead of a class


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11907


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org
             Status|RESOLVED                    |UNCONFIRMED
           Keywords|ice-on-invalid-code         |diagnostic
         Resolution|FIXED                       |
            Summary|ICE on illegal code: using a|confusing message when using
                   |class template instead of a |a class template instead of
                   |class                       |a class


------- Additional Comments From bangerth at dealii dot org  2003-08-13 18:59 -------
Wait, let's reopen the bug: the error message is profoundly wrong: it says 
   x.cc:2: error: no class template named `X' in `N' 
but really there _is_ a class template names 'X' and we access it as if it were 
a type-name. I'd say the message is really confusing. 
 
W.


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