Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link problems with char_traits



Hi,

I'm working on a project that uses basic_strings of unsigned ints and
unsigned shorts. Char_traits has been properly defined for both, but I'm
getting the following link errors when I compile using make from the
terminal:

std::char_traits<unsigned int>::copy(unsigned int*, unsigned int const*,
unsigned long)
std::char_traits<unsigned int>::move(unsigned int*, unsigned int const*,
unsigned long)
std::char_traits<unsigned int>::assign(unsigned int*, unsigned long,
unsigned int)

If I remove the definition for unsigned short, then I get the same errors
(well, the ones above, plus new ones for unsigned short). If I remove the
definition for unsigned int, then find and length are then also undefined,
indicating to me that it should link as at least some of the symbols are
found.

Can anyone assist? I can't find exactly the same problem elsewhere on the
net, but there are similar issues which lead me to believe it could be a
tool problem...

Cheers,

Neil
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.