[C2hs] Re: On the disappearance of CLDouble

Manuel M T Chakravarty chak at cse.unsw.edu.au
Sun Dec 13 23:17:19 EST 2009


Duncan Coutts:
> GHC 6.12 removes the CLDouble type from the FFI libs. Of course this
> means c2hs currently does not compile. The question is what level we
> should handle this at. Do we also stop recognising and translating long
> double in C code? Perhaps we should recognise it but fail with an error
> message to the effect that there is no corresponding Haskell type.

Yes, failing with a helpful error message seems best, especially as support for the type should be back at some point.

Manuel



More information about the C2hs mailing list