This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: V3 and Integrated CPP [was Re: V3 PATCH: Disable wide-character tests where necessary]
- To: Jamie Lokier <egcs at tantalophile dot demon dot co dot uk>
- Subject: Re: V3 and Integrated CPP [was Re: V3 PATCH: Disable wide-character tests where necessary]
- From: Neil Booth <NeilB at earthling dot net>
- Date: Thu, 9 Nov 2000 00:33:59 +0100 (CET)
- cc: Richard Henderson <rth at cygnus dot com>, Joern Rennecke <amylaar at redhat dot com>, <gcc at gcc dot gnu dot org>
Jamie Lokier wrote:-
> I don't see why any of the following wouldn't be possible:
>
> 1. When using --save-temps, use cpp output routines to write the .i
> file while passing the tokens directly to cc1.
>
> 2. Invoke cpp to generate the .i file, then do it again for
> compilation as usual.
Yes, either of these should be possible. 2 is of course the simplest.
> 3. Position tokens in the .i file such that they are at the correct
> column numbers. This would be useful for other programs too.
If I understand your meaning, this isn't possible - a macro can expand
arbitrarily wide.
Neil.