Tue, May 15, 2001 at 03:39:52, tlambert2 (Terry Lambert) wrote about "Re: wint_t": 

[...skip...]
> I maintain that the correct size for wchar_t is 16 bits,
> until someone can point to a character set that needs
> more than that, and which has been ratified by a standards
> body.

I'm fully agreed now with your arguments against 32bits wchar_t and for
16bits wchar_t. But it is _already_ at least 32 bits, though it is only for
working with normal integer types. And two different declarations (both
in standard system headers) are conflicting:

netch@iv:~/tmp>gcc -c -Wall fff.c
In file included from fff.c:5:
/usr/include/ncurses.h:236: conflicting types for `wchar_t'
/usr/include/stddef.h:58: previous declaration of `wchar_t'
netch@iv:~/tmp>cat fff.c
#define _XOPEN_SOURCE_EXTENDED
#include <sys/types.h>
#include <stddef.h>
#include <stdlib.h>
#include <ncurses.h>
netch@iv:~/tmp>

Or say me that this compilation mode is incorrect by definition...;|


/netch

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to