This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: [RFH] Getting rid of WCHAR_TYPE_SIZE


David Edelsohn wrote:-

> >>>>> Neil Booth writes:
> 
> David> WCHAR_TYPE_SIZE is used in c-common.c and c-lex.c.  Are you saying
> David> that you already have removed those uses?
> 
> Neil> Not really.  If you look at how it's used, it's simply a macro for
> Neil> TYPE_PRECISION (wchar_type_node).
> 
> 	If it's not overridden.

Huh?

#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE TYPE_PRECISION (wchar_type_node)

is at the top of both files.

In other words, they don't care what any header sets it to.

Neil.


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