[Bug c++/31584] ICE on probably invalid code

numerical dot simulation at web dot de gcc-bugzilla@gcc.gnu.org
Mon Apr 16 09:31:00 GMT 2007



------- Comment #2 from numerical dot simulation at web dot de  2007-04-16 10:31 -------
The compiler at 
http://www.comeaucomputing.com/tryitout/
has absolutely no problems with the code.

M$-VC8 says:
error C2754: 'C<T>::Dispatcher<c,dummy>' : a partial specialization cannot have
a dependent non-type template parameter
which somehow is an error message that clearly states what might be wrong.
The "incomplete type" statement is somehow misleading - IMHO

Could you change the error message in this case?

Of course I disagree with gcc and VC8 here.
Any pointer to a TR on this subject?

Best Regards,

Markus


-- 


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



More information about the Gcc-bugs mailing list