
29 Mar
2007
29 Mar
'07
4:51 p.m.
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