Parse error on '#'

Remko Troncon remko.troncon at
Sat Jun 25 08:00:59 EDT 2005


I'm trying to get GHC working on Mac OS X 10.2. I downloaded and  
installed the binary distribution of GHC 6.0.1, and it seems to  
compile the 'hello world' application. However, when i try to compile  
another program (e.g. GHC 6.0.1 itself), it seems that GHC doesn't  
recognize '#ifdef' statements in code, and reports back with the error:
     Package.hs:1: parse error on input `#'

Can anyone tell what's going on here ?


More information about the Glasgow-haskell-users mailing list