[Bug c++/50044] Attributes for explicit template instantiation are ignored after an implicit template instantiation occurred.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 16 14:17:00 GMT 2011


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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-16 14:00:12 UTC ---
(In reply to comment #0)
>   - When using "extern template..." there is something wrong with exporting the
> symbols for the typeinfo (i686-mingw32-nm shows that they are in the dll, but
> it seems that they are not exported).

what exactly does nm show?

what happens if you put INTERFACE on the class template definition instead of
the instantiation:

template<class T>
class INTERFACE A : public Base
...



More information about the Gcc-bugs mailing list