More on FreeBSD/amd64

Ian Lynagh igloo at earth.li
Thu Mar 29 12:51:24 EDT 2007


On Thu, Mar 29, 2007 at 10:40:32AM +0100, Simon Marlow wrote:
> 
> Based on what you said, I looked at Compat.Unicode and there is indeed a 
> type error in this foreign call:
> 
> foreign import ccall unsafe "u_gencat"
>   wgencat :: CInt -> Int
> 
> The return type should be CInt, not Int.  Try changing that and see if it 
> helps. You might need to add some fromIntegrals.

Even if it's not the problem, it's certainly a bug. HEAD and 6.6 branch
should now be fixed (both the compat copy and the base copy).


Thanks
Ian



More information about the Glasgow-haskell-users mailing list