delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/18/09:46:50

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
From: Sagar Shah <sagars AT dpsl DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <007601c34d9b$f1154b00$860410ac@WAS>
Subject: Fw: gcc on cygwin
Date: Fri, 18 Jul 2003 19:17:41 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

----- Original Message ----- 
From: "LLeweLLyn Reese" <llewelly AT lifesupport DOT shutdown DOT com>
To: "Sagar Shah" <sagars AT dpsl DOT net>
Cc: <pechtcha AT cs DOT nyu DOT edu>; <cygwin AT cygwin DOT com>; <gcc-help AT gcc DOT gnu DOT org>
Sent: Friday, July 18, 2003 6:02 AM
Subject: Re: gcc on cygwin


> Sagar Shah <sagars AT dpsl DOT net> writes:
> 
> > Hi,
> > 
> > Thanx for ur reply.
> > 
> > Lets consider the simple, sample application
> > \*****************wstringsample.cc*****************\
> > #include <string>
> > using namespace std;
> > int main()
> > {
> >  wstring name = L"Sagar Shah";
> >  return 0;
> > }
> > 
> > when compiling with gcc 3.2.3 the following is the output.
> > $ g++ -o wstringopt wstringsample.cc
> > /c/TEMP/ccAgVEAZ.o(.text+0x56):wstringsample.cc: undefined reference to
> > `std::ba
> > sic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
> > >::basic_
> > string[in-charge](wchar_t const*, std::allocator<wchar_t> const&)'
> > /c/TEMP/ccAgVEAZ.o(.text+0x8d):wstringsample.cc: undefined reference to
> > `std::ba
> > sic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
> > >::~basic
> > _string [in-charge]()'
> > collect2: ld returned 1 exit status
> > 
> > Plz help me regarding gcc 3.2.3 with wstring support.
> > very much thanx in advance.
> [snip]
> 
> It looks to me like wstring support was disabled, most likely because
>     of missing c99 wchar functions.
> 
> If you can, find out the status of the c99 wchar functions in the
>     cygwin c library.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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