Re: Unsigned wchar_t

2011-03-29 Thread Stefan Farfeleder
On Mon, Mar 28, 2011 at 10:33:19PM +1300, Andrew Turner wrote: > On Sun, 27 Mar 2011 22:07:30 +0200 > Stefan Farfeleder wrote: > > > The C standard specifies that both and shall > > define WCHAR_MIN and WCHAR_MAX. You cannot simply include > > from because the former contains a lot > > of oth

Re: Unsigned wchar_t

2011-03-28 Thread Andrew Turner
On Sun, 27 Mar 2011 22:07:30 +0200 Stefan Farfeleder wrote: > On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote: > > Along with this WCHAR_MIN and WCHAR_MAX are defined both in > > and . I would like to remove the copy > > from wchar.h and add an include to machine/_stdint.h. > > >

Re: Unsigned wchar_t

2011-03-27 Thread Joerg Sonnenberger
On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote: > Hello hackers@ > > I'm working on getting FreeBSD working with the ARM EABI. As part of > this the Procedure Call Standard for the ARM Architecture (AAPCS) > defines wchar_t as an unsigned int. Does someone at ARM actually get paid

Re: Unsigned wchar_t

2011-03-27 Thread Stefan Farfeleder
On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote: > Along with this WCHAR_MIN and WCHAR_MAX are defined both in > and . I would like to remove the copy from wchar.h > and add an include to machine/_stdint.h. > > Would there be any problems with either of these or is there a better >

Unsigned wchar_t

2011-03-27 Thread Andrew Turner
Hello hackers@ I'm working on getting FreeBSD working with the ARM EABI. As part of this the Procedure Call Standard for the ARM Architecture (AAPCS) defines wchar_t as an unsigned int. Looking at sys/sys/_types.h rune_t, wchar_t and wint_t are of type __ct_rune_t which is an int. Furthermore as