Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20041024164631.0415f2d0@pop.prospeed.net> X-Sender: Date: Sun, 24 Oct 2004 17:03:37 -0400 To: "Gerrit P. Haase" , Cygwin List From: Larry Hall Subject: Re: wstring, how? In-Reply-To: <417B7BE1.9040303@familiehaase.de> References: <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041023135340 DOT 04d5ed60 AT pop DOT prospeed DOT net> <417ADBA4 DOT 9050005 AT familiehaase DOT de> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041023203617 DOT 0414f4a8 AT pop DOT prospeed DOT net> <417B6A68 DOT 3050905 AT familiehaase DOT de> <417B7BE1 DOT 9040303 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:54 AM 10/24/2004, you wrote: >Gerrit P. Haase wrote: > >>Larry Hall wrote: >>>>>Gerrit, do you know why has the wstring typedef commented out? >>>>wchar_t and wstring are not in newlib and so they are not in cygwin. >>>Yeah, I thought of that but then I grepped through newlib and there seemed to be plenty of references to it. > >Actually I'm getting nothing: >gerrit AT loreley /winsup/src/newlib >$ grep -r wstring * > >gerrit AT loreley /winsup/src/newlib >$ Sorry, I wasn't specific in my reply. 'wchar_t' is referenced in newlib. 'wstring' is only defined (typedef) in '/usr/include/g++-3/string' but it is commented out. Like I said though, if you uncomment it (or put the same definition in the code), everything compiles/links fine. So, on the face of it, it would appear that using 'wstring', 'wchar_t', and, presumably, wide-character functions are possible with Cygwin. Am I missing something? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/