Parse error on '#'

Remko Troncon remko.troncon at cs.kuleuven.be
Sat Jun 25 08:38:21 EDT 2005


> Can anyone tell what's going on here ?

I found out that it was CPP generating #line directives on top of its  
output. I am probably using a newer version of GCC than the one with  
which GHC was compiled, and it doesn't pass enough flags to the  
preprocessor (i guess it should pass -P). Is there an easy way to  
pass extra flags to the preprocessor ? I can't just use -F pgmF cpp,  
there's probably more to it, right ?

cheers,
Remko


More information about the Glasgow-haskell-users mailing list