XCode 2.1 w/gcc 4.0 link error
XCode 2.1 w/gcc 4.0 link error
- Subject: XCode 2.1 w/gcc 4.0 link error
- From: Ken Baer <email@hidden>
- Date: Wed, 7 Dec 2005 14:10:36 -0800
We have a project for a static bundle that links against two 3rd
party static libraries. They all work fine together with in XCode
2.1 with GCC 3.3. However, when I switch the project to GCC 4.0, I
get the following undefined link errors.
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_S_empty_rep_storage
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_Rep::_S_create(unsigned long,
std::allocator<wchar_t> const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned long, std::allocator<char> const&)
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::_S_force_new
std::__default_alloc_template<true, 0>::_S_free_list
std::__default_alloc_template<true, 0>::_S_node_allocator_lock
std::__default_alloc_template<true, 0>::allocate(unsigned long)
std::__default_alloc_template<true, 0>::_S_refill(unsigned long)
I think this has something to do with not linking against the
standard C libraries anymore. But, I'm not sure what we need to link
against to make these defined. I'd like to understand this a little
better. Can someone shed some light on this? Thanks.
_______________________________________________
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