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++/50044] Attributes for explicit template instantiation are ignored after an implicit template instantiation occurred.


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
...


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