From: pavenis AT lanet DOT lv Message-ID: To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Thu, 25 Nov 1999 20:07:28 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: AW: ANNOUNCE: rsxntdj 1.6 BETA References: <199911241439 DOT JAA25063 AT envy DOT delorie DOT com> In-reply-to: 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