On Fri, 2005-03-04 at 10:49 +0000, Simon Marlow wrote:
> > However then it does not look at the {-# OPTIONS -fglasgow-exts #-}
> > pragma at the top of the file.

> 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?

Ah, you're quite right. The reason the option is not recognised is
because there is a comment on the same line:

{-# OPTIONS -fglasgow-exts #-}  --due to use of unsafeCoerce#

When I strip off the comment it works.

I didn't notice it was not working previously since the Makefile
specifies -fglasgow-exts when compiling the file (but not when
calculating deps).

Duncan

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to