PATCH: Support __WORDSIZE == 64 in i386/bits/wchar.h

Joseph S. Myers joseph@codesourcery.com
Thu May 31 23:09:00 GMT 2012


On Thu, 31 May 2012, Roland McGrath wrote:

> It seems to me it would be better just to make the common bits/wchar.h
> cast the values to wchar_t so that the generic definitions will produce
> the right type across the board.  Then we can remove i386/bits/wchar.h.

These macros must be usable in #if conditions, so they cannot contain 
casts.  (I haven't yet got that far in making the conform/ tests assert 
such things; I still have two C90 headers to do before going onto C90 
Amendment 1 headers and then C99 and C11 headers.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list