cpp and backslashes

Terry Barnaby terry1 at beam.ltd.uk
Tue Jan 12 08:06:27 UTC 2010


I am trying to build OpenFOAM on F12 and have a problem with cpp.
In OpenFOAM cpp is used to pre-process Makefiles to create the build
environment (yuck). Some of the files contain backslash-newline
sequences for line continuations. F12's cpp seems to remove the
backslash but leave the newline in place. so for example:

LIB_LIBS = \
     -ltriSurface \
     -lmeshTools

becomes:

LIB_LIBS =
     -ltriSurface
     -lmeshTools

Although I know this is not what cpp is intended for, is this correct behaviour 
for cpp ?


More information about the devel mailing list