delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/22/15:05:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4835C3F5.8050706@tlinx.org>
Date: Thu, 22 May 2008 12:05:25 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: wstring support in GCC 4.1.2 (OS independent)
References: <17275355 DOT post AT talk DOT nabble DOT com> <17290164 DOT post AT talk DOT nabble DOT com> <4830F08D DOT 6040505 AT cygwin DOT com> <17345729 DOT post AT talk DOT nabble DOT com> <4833813A DOT 7B6F7FAF AT dessent DOT net>
In-Reply-To: <4833813A.7B6F7FAF@dessent.net>
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

Brian Dessent wrote:
> jadooo wrote:
> 
>> Please let me know if I am doing anything wrong.
> 
> Yes, you are misunderstanding the nature of the problem.
> 
> In order to support the wstring class, gcc relies on the platform's libc
> supporting wide character C99 functions.
---
	Even though the "kernel" (cygwin 1.5) doesn't support unicode
shouldn't it be possible -- and desirable for gcc to support the
'wstring' datatype?

	It does seem 'wstring' is supported on standard linux,
but internally, the kernel doesn't support double-wide
characters anymore than cygwin.  So maybe the problem is
not that cygwin doesn't support unicode, but that the gcc
libs & compile utils don't support the standard linux
equivalents?

	Whether or not cygwin (or the linux kernel) supports
"wchar" is not entirely relevant to what the application libraries
on top of the kernel support -- at least going by the example
on an x86_64 linux.  It's still the case that the 64-bit
linux kernel doesn't support wchars any more than cygwin, yet
the compiler suite does.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019