[Bug c++/11907] confusing message when using a class template instead of a class

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 13 18:59:00 GMT 2003


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.



More information about the Gcc-bugs mailing list