patch applied (cabal): Fix C/Haskell type mismatches
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Sun Apr 8 07:06:40 EDT 2007
Ian Lynagh <igloo at earth.li> writes:
> > > UNDO: Fix C/Haskell type mismatches
> > > M ./Distribution/Simple/Utils.hs -6 +6
> >
> > I'm afraid this patch uses a type 'CPid' in a foreign import declaration
> > which is non-standard
>
> It's currently in System.Posix.Types, which sounds like the right place
> for it. Perhaps I just needed to add an import too?
nhc98 does not currently implement any of System.Posix.*
The main obstacle is that the System.Posix hierarchy seems to rely
heavily on autoconf (I'm guessing) for lots of CPP symbol definitions
(in a #included "HsBaseConfig.h", which doesn't appear anywhere in the
darcs repository), and of course nhc98 does not use autoconf at all. If
there were some other, less horrible, way of generating the necessary
data definitions, that would be great.
Regards,
Malcolm
More information about the Cvs-libraries
mailing list