Thanks Alastair.

----- Original Message ----- 
From: "Alastair Reid" <[EMAIL PROTECTED]>
To: "Mike Thomas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 6:46 PM
Subject: Re: hslibs/win32


> 
> > gives me an un-munged Win32 library, but unfortunately CVS HEAD
> > ghc-inplace doesn't like the ForeignObj types in the Haskell source
> > generated by green-card.
> 
> Updating GreenCard (and the Xlib and Win32 .gc files) to use
> ForeignPtr and Ptr instead of ForeignObj and Addr is on my todo list
> for a while (but not making progress because I wanted to get Hugs' ffi
> implementation out the door, the ForeignPtr spec was in a state of
> flux for the last month or two and I had other commitments).
> 
> In the meantime, can you add something like these:
> 
>   type Addr       = Ptr        ()  -- probably no needed yet
>   type ForeignObj = ForeignPtr ()
> 
> to get round the problem.  (StdDIS would be a good place to put them.)
> 
> > The reason I'm doing this is that I want to build CVS HEAD with
> > itself so that I can try Template Haskell, and get a current ghci.
> 
> If you don't actually want win32 built, you could probably make a
> minor tweak to the makefile to tell it it has no targets or make a
> Readme file (or whatever) be the target so that win32 is effectively
> ignored.
> 
> 
> --
> Alastair
> _______________________________________________
> Cvs-ghc mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/cvs-ghc

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

Reply via email to