Undefined reference
Paolo Carlini
pcarlini@unitus.it
Sat Mar 22 21:07:00 GMT 2003
Ulrich Weigand wrote:
>Hello,
>
>I'm again getting undefined references in the libstdc++ test suite
>(this time 21_strings/basic_string/cons/wchar_t/2.cc). The symbol is
>
>std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct(unsigned long, wchar_t, std::allocator<wchar_t> const&)
>
>Is this again a problem with the version script?
>
Hi,
we are all getting it, on the various wchar_t enabled platforms.
Both 3.2 and 3.3 have no problem with this new wchar_t test, constituted
basically by a single line:
std::wstring s(10, 0);
Notice that there are no differences in the basic_string code itself
present in the various branches (3.2, 3.3 and 3.4) and the problem
appear at link time and only for dynamic linking, therefore probably
your guess is correct. Unfortunately I haven't made much progress yet in
trying to understand what is going wrong.
Do you have any hints?
Paolo.
More information about the Libstdc++
mailing list