Link problems with char_traits
Link problems with char_traits
- Subject: Link problems with char_traits
- From: "Neil Crane" <email@hidden>
- Date: Tue, 31 Aug 2004 15:29:36 +0100 (BST)
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.