This is the mail archive of the
mailing list for the GCC project.
Re: [libstdc++][patch] Move __stl_prime_list out of a header file
On Wed, May 20, 2009 at 3:52 PM, Ian Lance Taylor <firstname.lastname@example.org> wrote:
> Paolo Carlini <email@example.com> writes:
>> Daniel Berlin wrote:
>>> This stuff is still in pretty heavy use everywhere, and probably will
>>> be for many years.
>>> The duplicate copies of __stl_prime_list everywhere take up a lot more
>>> space than one would think.
>> Frankly, I don't care. Adding symbols has a maintainance cost. As a
>> library maintainer I vote *against* this change. If you want it, make
>> sure to find a majority of maintainers of different opinion.
> Do you see any problems with this patch other than the new exported
> Does anybody else have an opinion on this?
You can't ever remove that symbol again, so I agree with Paolo here.
Users can easily provide a extern template declaration and do
implicit instantiation in their code somewhere.