On Tue, Oct 12, 2010 at 09:37:38AM +0100, Simon Marlow wrote:
> On 12/10/2010 08:23, Simon Peyton-Jones wrote:
>> Ian
>>
>> On my windows machine I’m getting this:
>>
>> utils\ghc-pkg\Main.hs:1511:8: parse error on input `import'
>>
>> make[1]: *** [utils/ghc-pkg/dist/build/ghc-pkg.exe.exe] Error 1
>>
>> Dimitrios had this yesterday; I’m not sure how he got round it.
>>
>> It’s a foreign import in a windows-only section of ghc-pkg.
>>
>> What should I do? Thanks
>
> I'm guessing this is collateral damage from the -fglasgow-exts cleanup.  
> You'll want to add {-# LANGUAGE ForeignFunctionInterface #-} to the top 
> of the module.

Sorry, yes; fixed by:

Tue Oct 12 12:21:11 BST 2010  Ian Lynagh <[email protected]>
  * Fix build on Windows: ghc-pkg/Main.hs needs ForeignFunctionInterface


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to