V3 and Integrated CPP [was Re: V3 PATCH: Disable wide-character tests where necessary]

Neil Booth NeilB@earthling.net
Wed Nov 8 15:34:00 GMT 2000


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.



More information about the Gcc mailing list