This is the mail archive of the gcc-patches@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]

Re: [libstdc++][patch] Move __stl_prime_list out of a header file


On Wed, May 20, 2009 at 3:52 PM, Ian Lance Taylor <iant@google.com> wrote:
> Paolo Carlini <paolo.carlini@oracle.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
> symbol?
>
> 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.

Richard.


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