C Preprocessor

Antti-Juhani Kaijanaho antti-juhani at kaijanaho.fi
Thu Dec 6 09:59:48 EST 2007


On Thu, Dec 06, 2007 at 10:43:30AM +0100, Bernd Brassel wrote:
> Is it already a known problem that the preprocessor cannot cope with the
> whole set of possible string declarations?

The cpp is a *C* preprocessor, and if it has been written to adhere to
the C standard, it is required to diagnose tokens that are not valid C
preprocessing tokens (such as string literals that do not end before the
end of a line).  As such, this is unsurprising.

It would probably make most sense to make cpphs the (only) preprocessor
used with -cpp instead of using whatever *C* preprocessor happens to be
in the path.  

-- 
Antti-Juhani Kaijanaho, Jyväskylä, Finland
http://antti-juhani.kaijanaho.fi/newblog/
http://www.flickr.com/photos/antti-juhani/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071206/0c48d949/attachment.bin


More information about the Glasgow-haskell-users mailing list