delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/17/18:56:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20021117235521.40062.qmail@web21407.mail.yahoo.com>
Date: Mon, 18 Nov 2002 10:55:21 +1100 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: gcc 3.2 string<wchar_t> link problem
To: cygwin AT cygwin DOT com
Cc: nigels AT nigels DOT com
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019