This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]