Re: greencard bug

2001-11-24 Thread Sigbjorn Finne
in your case you need to change the %code below to %safecode. (Alternatively, use the -S option). hth --sigbjorn - Original Message - From: "Chen Yu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 03:42 Subject: greencard bug > Hi, t

greencard bug

2001-11-22 Thread Chen Yu
Hi, there I am using Greencard with Hask's foreign function export. I found the following program can cause seg-fault. Anyone has any idea? BTW, if I replace greencard with Hask's foreign function import, there is no such error. in ABC.gc: foreign export ccall "h_add" h_add :: Int -> IO Int h