This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Missing explicit instantiations in libstdc++ (was Re: Unreviewed
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: bkoz at redhat dot com (Benjamin Kosnik)
- Cc: jason at redhat dot com, libstdc++ at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 19:24:21 -0500 (EST)
- Subject: Re: Missing explicit instantiations in libstdc++ (was Re: Unreviewed
> 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)