X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 25 Jun 2009 22:26:11 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: How to build gcc to support wchar_t and wstring on Cygwin Message-ID: <20090625202611.GC30864@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <24207403 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.19 (2009-02-20) 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 On Jun 25 15:15, Mark J. Reed wrote: > On Thu, Jun 25, 2009 at 1:10 PM, Match Point > > wstring is not supported on my Cygwin 1.5.25. When I  declare a > > wstring variable my g++ 3.4.4 complains wstring is undeclared. After > > reading some posted message I figured out wstring is not supported on > > Cygwin 1.5 or even 1.7. To fix this I have to rebuild entire gcc. > > No, to fix that you have to convince the newlib developers to add > wstring support to newlib. wstring is a C++ class. It has nothing to do with libc. wstring is supported by the G++ standard libs as soon as the underlying libc (Cygwin/nelib) provides all necessary wide char functions to implement that class. That should be the case for Cygwin 1.7 and gcc 4.x. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple