Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 21:57:02 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@attbi.com>
Cc:        freebsd-standards@FreeBSD.org, kan@FreeBSD.org
Subject:   Re: WCHAR_MIN and WCHAR_MAX not defined in <wchar.h>
Message-ID:  <20030219215702.H61431@espresso.bsdmike.org>
In-Reply-To: <20030220022844.GA69709@attbi.com>; from rodrigc@attbi.com on Wed, Feb 19, 2003 at 09:28:44PM -0500
References:  <20030219223313.GA93707@attbi.com> <20030220112847.A36977@dilbert.robbins.dropbear.id.au> <20030219205726.G61431@espresso.bsdmike.org> <20030220022844.GA69709@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Rodrigues <rodrigc@attbi.com> writes:
> On Wed, Feb 19, 2003 at 08:57:26PM -0500, Mike Barcroft wrote:
> > Tim Robbins <tjr@FreeBSD.org> writes:
> > > I'll add a definition of WCHAR_MIN and WCHAR_MAX to <wchar.h> as soon as I
> > > can find a clean (non-polluting) way of doing it.
> > 
> > Do we need a <machine/_limits.h> with underscored macro variants?  
> 
> Wait a minute.  I was just stumbling around the header files
> and found this in <machine/_stdint.h>
> 
> #ifndef WCHAR_MIN /* Also possibly defined in <wchar.h> */
> /* 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 <wchar.h>?

INT32_MIN isn't in scope in <wchar.h>.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




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