wstring and gcc

Gokhan Kisacikoglu kisa@centropolisfx.com
Mon Sep 30 08:15:00 GMT 2002


This did not work for me either;

#include <string>

int main()
{
    std :: wstring foo;
    return 0;
}

%> g++ -o tt tt.cpp
ld32: ERROR   33 : Unresolved text symbol "std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t>
>::basic_string[in-charge]()" -- 1st referenced by /tmp/ccHkNfJj.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string
[in-charge]()" -- 1st referenced by /tmp/ccHkNfJj.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: INFO    152: Output file removed because of error.
collect2: ld returned 2 exit status


What's that [in-charge] mean?

Gokhan



More information about the Gcc-help mailing list