Unsigned wchar_t

Stefan Farfeleder stefan at fafoe.narf.at
Tue Mar 29 07:29:45 UTC 2011


On Mon, Mar 28, 2011 at 10:33:19PM +1300, Andrew Turner wrote:
> On Sun, 27 Mar 2011 22:07:30 +0200
> Stefan Farfeleder <stefan at fafoe.narf.at> wrote:
> 
> > The C standard specifies that both <wchar.h> and <stdint.h> shall
> > define WCHAR_MIN and WCHAR_MAX. You cannot simply include
> > <machine/_stdint.h> from <wchar.h> because the former contains a lot
> > of other macros.
> I thought that might be the case. I could create <machine/_wchar.h> for
> the defines unless there is a better place for them.

Yes, a new header would be a possibility.

Stefan


More information about the freebsd-hackers mailing list