On 03 March 2005 22:18, Duncan Coutts wrote:
> 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.
Strange... it works for me. ghc -M now uses the same machinery as
--make when calculating the dependency graph, so {-# OPTIONS #-} should
work as normal.
Can you send us the source file that fails?
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs