X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Wide Character support in Cygwin Date: Mon, 30 Apr 2007 21:32:56 +0530 Message-ID: <141D986BB4749448AB843778A4DD236B04654F03@kormail02.in.bosch.com> In-Reply-To: <46360AAD.4010308@cygwin.com> From: "Tejesh C (RBIN/ECM2)" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l3UG3C5P018047 Hi All, Is the wide character support for GCC available in Cygwin We have tried to compile a piece of code which works on SLES 9 LINUX But the same code throws errors when compiled on cygwin. Can any one please suggest how to solve this problem The following is the code : #include #include #include int main ( ) { using namespace std; float f= 3.14159; const wchar_t* s= L"Kenavo !"; // create a read/write stringbuf object on wide char // and attach it to an wistringstream object wistringstream in( ios_base::in | ios_base::out ); // tie the wostream object to the wistringstream object wostream out(in.rdbuf()); out << L"test beginning !" << endl; // output f in scientific format out << scientific << f <