Missing explicit instantiations in libstdc++ (was Re: Unreviewed
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Dec 3 16:24:00 GMT 2001
> This (the unsigned instantiation) should be implicitly instantiated from
^^^^^^^^^^
> the test case in question, namely 22_locale/collate.cc. Apparently it is
> not, for some reason.
The reference is in this function:
_ZNSbIhSt11char_traitsIhESaIhEE4_Rep9_S_createEmRKS1_
I think this reference comes from line 143 in include/bits/basic_string.tcc.
> Or, all char's are unsigned on HPUX, and there is something funky going
> on WRT CANONICAL_TYPE and mangled names where char is not mapping to
> unsigned char.
No, all char's are not unsigned on HPUX. I think this probably has
something to do with instantiation on systems without weak support.
Don't these systems require explicit instantiation?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Libstdc++
mailing list