This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wstring and gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]