[Bug c++/41028] Compilation error when a class specialization use a typedef define in a template class

maxime dot fiandino at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 10 15:20:00 GMT 2009



------- Comment #1 from maxime dot fiandino at gmail dot com  2009-08-10 15:20 -------
Created an attachment (id=18336)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18336&action=view)
simple source with the bug

just use:
g++ main.cc

on 3.46/4.1.1 no error
on 4.4.0/4.4.1
main.cc:30: error: template parameters not used in partial specialization:
main.cc:30: error:         'T'
main.cc:30: error:         'U'


-- 


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



More information about the Gcc-bugs mailing list