This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: LTO, shared libraries and extern class templates
On Thu, 11 Oct 2018 at 17:12, Hadrien Grasland wrote:
> Thanks for clarifying that explicit class template instantiations should work. Trying to produce a minimal reproducer was a very interesting exercise. As it turns out, the problematic situation which I am experiencing does not occur with explicit template instantiations per se, but only when those are combined with inheritance in a certain way.
Which is why that should be the *first* thing you do. It saves everybody's time.
I'll look at the example code properly ASAP.