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]

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


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.


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