From owner-freebsd-hackers Tue May 15 22:29:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 6C2E137B422 for ; Tue, 15 May 2001 22:29:53 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id ILI55544; Wed, 16 May 2001 08:29:28 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.3/8.11.3) id f4G5NAQ01056; Wed, 16 May 2001 08:23:10 +0300 (EEST) (envelope-from netch) Date: Wed, 16 May 2001 08:23:10 +0300 From: Valentin Nechayev To: Terry Lambert Cc: Alfred Perlstein , Erik Trulsson , hackers@FreeBSD.ORG Subject: Re: wint_t Message-ID: <20010516082310.A921@iv.nn.kiev.ua> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B010778.287FAF5E@mindspring.com>; from tlambert2@mindspring.com on Tue, May 15, 2001 at 03:39:52AM -0700 X-42: On Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 #include #include #include 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