Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 08:23:10 +0300
From:      Valentin Nechayev <netch@iv.nn.kiev.ua>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Erik Trulsson <ertr1013@student.uu.se>, hackers@FreeBSD.ORG
Subject:   Re: wint_t
Message-ID:  <20010516082310.A921@iv.nn.kiev.ua>
In-Reply-To: <3B010778.287FAF5E@mindspring.com>; from tlambert2@mindspring.com on Tue, May 15, 2001 at 03:39:52AM -0700
References:  <20010514164401.A61243@dragon.nuxi.com> <20010515023221.A41666@student.uu.se> <20010514174502.J2009@fw.wintelcom.net> <20010515093610.A1835@iv.nn.kiev.ua> <3B010778.287FAF5E@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010516082310.A921>