www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/11/25/13:35:38

From: pavenis AT lanet DOT lv
Message-ID: <B0000110508@stargate.astr.lu.lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Thu, 25 Nov 1999 20:07:28 +0200
MIME-Version: 1.0
Subject: Re: AW: ANNOUNCE: rsxntdj 1.6 BETA
References: <199911241439 DOT JAA25063 AT envy DOT delorie DOT com>
In-reply-to: <Pine.SUN.3.91.991125095151.11831B-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.12a)
Reply-To: djgpp-workers AT delorie DOT com

On 25 Nov 99, at 9:52, Eli Zaretskii wrote:

> 
> On Wed, 24 Nov 1999, DJ Delorie wrote:
> 
> > If we're supporting windows, we should reconfigure
> > gcc to use 16-bit wide characters.  However, you'll have to rebuild
> > *all* of libc to support them properly (after fixing the wchar type in
> > the system headers).
> 
> What prevents us from releasing v2.03 with this change?
> 
> Wide character aren't really supported by the library, the few
> functions that pay attention to wchar are just noops, as far as I can
> see.
> 

For gcc I think it would be enough to add following definitions in 
gcc/config/i386/djgpp.h (according to gcc info files, I haven't tested it 
though):

#define WCHAR_UNSIGNED 1
#define WCHAR_TYPE_SIZE 16
#define WCHAR_TYPE "short unsigned int"

(I took them from cygwin.h in the same directory)

Andris

- Raw text -


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