Mail Archives: cygwin/2002/11/17/18:56:49
gcc 3.2 string<wchar_t> link problem
From: Nigel Stewart & Fiona Smith <nigels at nigels dot com>
To: cygwin at cygwin dot com
Date: Mon, 18 Nov 2002 10:42:45 +1100
Subject: gcc 3.2 string<wchar_t> link problem
===snip===
> $ g++ test.cpp
> /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x25):test.cpp: >
> undefined reference to `std::basic_string<wch
> ar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in->
> charge]()'
> /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x30):test.cpp: >
> undefined reference to `std::basic_string<wch
> ar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string
[in-> charge]()'
Look in /usr/include/c++/3.2/i686-pc-cygwin/bits/c++config.h
// Define if code specialized for wchar_t should be used.
/* #undef _GLIBCPP_USE_WCHAR_T */
libstdc++ configure script could not find enough C runtime support to provide
C++ wchar_t support.
Danny
http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -