'extern template' (was Re: [libstdc++ RFC] stl_vector.h overhaul, part 1 of 2)

B. Kosnik bkoz@nabi.net
Thu May 23 07:01:00 GMT 2002


> There was debate at one point whether this was causing problems on AIX
> and other link-quirky platforms, wasn't there?  All I recall is maybe
> it's an optimization, maybe it's a semantic change, or something like
> that. Was a conclusion reached?

This was a g++ issue that Jason has since fixed. See:

2002-05-18  Jason Merrill  <jason@redhat.com>

        * decl2.c (import_export_decl): If we clear
        DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.



More information about the Libstdc++ mailing list