Malcolm

Greetings.

| The ``foreign import'' bug for Float types is still present 
| in ghc-4.08.
| (I think Floats are being silently promoted to Doubles, which as far
| as I can tell is wrong - this is a difference between K&R1 
| and ANSI C.)

This bug is definitely present in the native code route.  We've
fixed it on the head branch, and intend to fix it on the 4.08
branch too.

It would be good to know if the bug exists on the via-C route.
If you recompile with -fvia-C (perhaps check with -v to be sure
it really does go via C), does the problem still exist?  
I hope not.

J

Reply via email to