This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFH] Getting rid of WCHAR_TYPE_SIZE
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>,Robert Dewar <dewar at gnat dot com>
- Date: Wed, 8 May 2002 21:39:16 +0100
- Subject: Re: [RFH] Getting rid of WCHAR_TYPE_SIZE
- References: <20020508203206.GA676@daikokuya.demon.co.uk> <200205082032.QAA27508@makai.watson.ibm.com>
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.