> Did 6.12 change the way layout is handled? The error message seems  
> quite strange. It's probably easy to fix but it's slightly worrying.

No, what happens is that haddock (and only haddock is affected)
enables the 'rec' keyword, because -fglasgow-exts is used, which
now implies -XDoRec. The code in question is

        if b then do
             rec <- peek recPtr
             or <- peek orPtr
             return $ Just (rec,toEnum $ fromIntegral or)

Building the actual code works fine.

regards,

Bertram

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to