This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50044] Attributes for explicit template instantiation are ignored after an implicit template instantiation occurred.
- From: "ml at convergent-it dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Aug 2011 12:27:50 +0000
- Subject: [Bug c++/50044] Attributes for explicit template instantiation are ignored after an implicit template instantiation occurred.
- Auto-submitted: auto-generated
- References: <bug-50044-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50044
--- Comment #12 from Martin Lederhilger <ml@convergent-it.at> 2011-08-18 12:27:50 UTC ---
For the case with using "extern template...":
If you look at bug #40068, you can see that there was a similar problem (not
exported typeinfo to DLL) once - for normal classes. There were two solutions,
one in comment 1 (has not been applied to GCC) and another in comment 4 (has
been applied to GCC).
If I apply the patch of comment 1, then my problems with the not exported
typeinfo disappears;)
It would be nice, if someone with more knowledge than me can have a look at
this (and how it could be applied to GCC).
Thanks