This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: 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)


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