Mail Archives: djgpp-workers/1999/11/25/13:35:38
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 -