RE: Trying to build HDIRECT with ghc-5.00.2
| (*) - ghc-5.00.2 give Int.sizeofInt{8,...} the type Int32; | HDirect generated sources assume Word32 (as it should be). => | you may need to tweak the generated code in a select few | places to make ghc-5.00.2 happy. Sigbjorn: Are you suggesting a change to the Int module? It would be nice to settle ethis so that no tweaking was reqd. I'm ccing the FFI list as that seems the right place to decide. Simon
No, it was just a bug that was introduced somewhere on the road to GHC5. The version of Int in the repo does the right thing now. --sigbjorn ----- Original Message ----- From: "Simon Peyton-Jones" <simonpj@microsoft.com> To: "Sigbjorn Finne" <sof@galconn.com>; <ahey@iee.org> Cc: <ffi@haskell.org> Sent: Thursday, July 12, 2001 01:04 Subject: RE: Trying to build HDIRECT with ghc-5.00.2
| (*) - ghc-5.00.2 give Int.sizeofInt{8,...} the type Int32; | HDirect generated sources assume Word32 (as it should be). => | you may need to tweak the generated code in a select few | places to make ghc-5.00.2 happy.
Sigbjorn:
Are you suggesting a change to the Int module? It would be nice to settle ethis so that no tweaking was reqd.
I'm ccing the FFI list as that seems the right place to decide.
Simon
participants (2)
-
Sigbjorn Finne -
Simon Peyton-Jones