delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <17399580.post@talk.nabble.com> |
Date: | Thu, 22 May 2008 01:26:54 -0700 (PDT) |
From: | jadooo <vnair AT linx DOT co DOT uk> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11 |
In-Reply-To: | <625347.44301.qm@web33503.mail.mud.yahoo.com> |
MIME-Version: | 1.0 |
X-Nabble-From: | vnair AT linx DOT co DOT uk |
References: | <17275355 DOT post AT talk DOT nabble DOT com> <17359564 DOT post AT talk DOT nabble DOT com> <625347 DOT 44301 DOT qm AT web33503 DOT mail DOT mud DOT yahoo DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Ya I am trying MinGW now. But since it is like building on the windows platform, we need to get round with concepts which differ on the posix and the windows system. Currently I am dealing with the Signals, one such problem. In in my linux based code we have used the sigaction() concept which is not supported in MinGW. Now I am bit worried to estimate the time for the complete activity as I will have to make modifications in the code to make porting successful. Longyu Mei wrote: > > How about minGW? Did you try that? I have similiar > problem and I will try to see if there is any > difference. > > > --- jadooo <vnair AT linx DOT co DOT uk> wrote: > >> >> Thanks a lot for the valuable information. >> >> I am trying to port my application developed in >> linux to windows, now as >> it is quiet clear that I could not use cygwin, due >> to lack of Unicode >> support, >> is there any other alternative to try out my porting >> activity. >> >> Thanking you all once again for the great help. >> >> Vipin >> >> >> >> >> >> jadooo wrote: >> > >> > Hi All, >> > I was trying to compile my code on >> Cygwin[1.5.25-11] with GCC[4.1.2], >> > but I am not able to build with errors on wstring. >> >> > >> > I tried to test a simple application which uses >> wstring, like >> > >> > #include <string> >> > #include <iostream> >> > int main( ) >> > { >> > using namespace std; >> > >> > const basic_string <wchar_t> s1 ( L"abc" ); >> > wstring s2 ( L"abc" ); // Uses the typedef >> for wstring >> > if ( s1 == s2 ) >> > cout << "The strings s1 & s2 are equal." << >> endl; >> > else >> > cout << "The strings s1 & s2 are not equal." >> << endl; >> > } >> > >> > and on compiling I am getting the following >> error.. >> > >> > -->g++ main.cpp -o main >> > main.cpp: In function `int main()': >> > main.cpp:8: error: `wstring' undeclared (first use >> this function) >> > main.cpp:8: error: (Each undeclared identifier is >> reported only once for >> > each fu >> > nction it appears in.) >> > main.cpp:8: error: expected `;' before "s2" >> > main.cpp:9: error: `s2' undeclared (first use this >> function) >> > >> > I searched on the net but could not get any thing >> recent or useful. Some >> > old forum threads[2005] say that >> > it was not supported. >> > >> > Any advice or pointer will be of great help. >> > >> > Thanks & Regards >> > Vipin >> > >> > >> >> -- >> View this message in context: >> > http://www.nabble.com/wstring-support-in-GCC-4.1.2-in-Cygwin-1.5.25-11-tp17275355p17359564.html >> Sent from the Cygwin list mailing list archive at >> Nabble.com. >> >> >> -- >> 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/ >> >> > > > > > > -- > 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/ > > > -- View this message in context: http://www.nabble.com/wstring-support-in-GCC-4.1.2-in-Cygwin-1.5.25-11-tp17275355p17399580.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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 |