CLDouble serialization bug in 6.10.1

Bulat Ziganshin bulat.ziganshin at
Sun Jul 12 15:22:13 EDT 2009

Hello David,

Sunday, July 12, 2009, 11:18:00 PM, you wrote:

>>> foreign import ccall unsafe ""
>>>   client :: Ptr CLDouble -> IO ()

> The source suggests the CLDouble isn't implemented, and it just uses a
> Double.  This probably worked when compiling via-C and including
> proper prototypes (the C compiler coerced the value).  Since that
> isn't done any more, it now incorrectly passes the regular double.

i think the same about double. but it not worked either in 6.6.1, even
with explicit -fvia-C option

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list