Re: Xcode's STL problem, works fine in MW
Re: Xcode's STL problem, works fine in MW
- Subject: Re: Xcode's STL problem, works fine in MW
- From: Chris Espinosa <email@hidden>
- Date: Sat, 19 Feb 2005 09:34:06 -0800
On Feb 19, 2005, at 8:51 AM, Tomas Zahradnicky wrote:
I'm moving a project from MW to Xcode and that project uses STL for
unicode strings. It builds fine in MW but there seems to be problem
with STL since it does not seem to instantiate the following methods
(I'm getting a link error):
std::char_traits<unsigned short>::copy(unsigned short*, unsigned
short const*, unsigned long)
std::char_traits<unsigned short>::move(unsigned short*, unsigned
short const*, unsigned long)
std::char_traits<unsigned short>::length(unsigned short const*)
Would it mean that I have to define them on my own?
The standard doesn't require char_traits to be defined on unsigned
shorts. Metrowerks' STL does this as an extension. You need to bring
that definition over yourself if your code uses it.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden