cpp and backslashes

Terry Barnaby terry1 at beam.ltd.uk
Tue Jan 12 10:56:04 UTC 2010


On 01/12/2010 09:16 AM, Jakub Jelinek wrote:
> Yes, the tokens are separated by whitespace, so it is sufficient if they are
> again separated by whitespace after preprocessing.  See
> http://gcc.gnu.org/PR41445 for details why this changed, in short
> without the change the tokens have incorrect location and cause unintended
> differences in debug info between direct compilation and compilation where
> preprocessing happens separately from compilation.
> You can use cpp -P to avoid this (then the output won't be cluttered with
> # <line> <filename>
> either).
> 
Thanks for the info.
I will feed this back to the OpenFOAM developers.

Cheers


Terry


More information about the devel mailing list