From owner-freebsd-standards Wed Feb 19 18:27:54 2003 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EA837B401; Wed, 19 Feb 2003 18:27:52 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id C733B43FA3; Wed, 19 Feb 2003 18:27:51 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id h1K2SjhE076867; Wed, 19 Feb 2003 21:28:45 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id h1K2Sixr076854; Wed, 19 Feb 2003 21:28:44 -0500 (EST) Date: Wed, 19 Feb 2003 21:28:44 -0500 From: Craig Rodrigues To: Mike Barcroft Cc: freebsd-standards@FreeBSD.org, kan@FreeBSD.org Subject: Re: WCHAR_MIN and WCHAR_MAX not defined in Message-ID: <20030220022844.GA69709@attbi.com> References: <20030219223313.GA93707@attbi.com> <20030220112847.A36977@dilbert.robbins.dropbear.id.au> <20030219205726.G61431@espresso.bsdmike.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030219205726.G61431@espresso.bsdmike.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 19, 2003 at 08:57:26PM -0500, Mike Barcroft wrote: > Tim Robbins writes: > > I'll add a definition of WCHAR_MIN and WCHAR_MAX to as soon as I > > can find a clean (non-polluting) way of doing it. > > Do we need a with underscored macro variants? Wait a minute. I was just stumbling around the header files and found this in #ifndef WCHAR_MIN /* Also possibly defined in */ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX #endif Is this stuff in the correct place? Does it need to be duplicated in ? > Why the specification's authors couldn't keep all the limits in a single > header, I'll never know. I agree. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message