3 Mar 2005 23:17
ghc-6.4 -M does not respect {-# OPTIONS -fglasgow-exts #-} pragma
Duncan Coutts <duncan.coutts <at> worc.ox.ac.uk>
2005-03-03 22:17:41 GMT
2005-03-03 22:17:41 GMT
Hi,
In ghc 6.4 using -M mode it appears to be stricter when parsing the
files looking for dependencies. In particular importing things with '#'
suffixes eg:
import GHC.Really.Really.Internal.Dont.Touch (unsafeNastyThing#)
did not require the -fglasgow-exts option. In ghc 6.4 it does require
this (which is not unreasonable).
However then it does not look at the {-# OPTIONS -fglasgow-exts #-}
pragma at the top of the file.
I'll go fix my build system to always supply -fglasgow-exts when
calculating dependencies.
Duncan
RSS Feed