delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Tue, 22 Jul 2008 15:49:28 -0600 |
From: | <bernd AT prager DOT ws> |
To: | cygwin AT cygwin DOT com |
Subject: | =?UTF-8?Q?CYGWIN=5FNT-=35=2E=31=20=31=2E=37=2E=30=28=30=2E=31=38=35/=35/?= =?UTF-8?Q?=33=29=20wstring=20undeclared?= |
Message-ID: | <0302154ffecb7bae3046cafb2aef9ee5@prager.ws> |
X-Sender: | bernd AT prager DOT ws |
User-Agent: | RoundCube Webmail/0.1 |
X-Identified-User: | {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 69.89.31.107 authed with bernd+prager.ws} |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hi, I thought wstring is now supported. Following code: #include <iostream> using namespace std; int main() { wstring s = L"test"; wcout << s << endl; return EXIT_SUCCESS; } fails compilation with: $ g++ tst1.cpp tst1.cpp: In function `int main()': tst1.cpp:6: error: `wstring' undeclared (first use this function) tst1.cpp:6: error: (Each undeclared identifier is reported only once for each function it appears in.) tst1.cpp:6: error: expected `;' before "s" tst1.cpp:7: error: `wcout' undeclared (first use this function) tst1.cpp:7: error: `s' undeclared (first use this function) Is that a path issue or is wstring still unsupported? Thanks, -- Bernd -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |