delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/08:38:20

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: Sachin Zingade <sachinz AT dpsl DOT net>
Reply-To: Sachin Zingade <sachinz AT dpsl DOT net>
To: cygwin AT cygwin DOT com
Cc: gcc AT gcc DOT gnu DOT org
Message-ID: <026601c346e0$bb40ca70$130510ac@enigma>
Subject: problems with gcc3.2.3 and wstring
Date: Thu, 10 Jul 2003 18:12:32 +0530
Organization: DX Technologies
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000

Hi,

i am working latest version of cygwin on WIN NT os, i had simple application
like

#include <string>
using namespace std
int main()
{
    wstring sname = L"Sachin";
    return 0;
}

i am having gcc 3.2.3 that comes with cygwin when i tried to compile it gave
the errors
wstring not defined i.e. undefined references to wchar_t

when i compile with gcc 2.95.3 it gave no errors but why it so with gcc
3.2.3

Plz help

Regards
Sachin Z

--
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