Re: [Haskell-cafe] compile error with FFI code

2008-03-23 Thread John Meacham
On Fri, Mar 21, 2008 at 11:21:26PM -0500, Galchin Vasili wrote: In my blah.hsc, I have allocbytes (#const (struct bozo)) .. where you probably meant allocBytes (#const sizeof(struct bozo)) John -- John Meacham - ⑆repetae.net⑆john⑈ ___

[Haskell-cafe] compile error with FFI code

2008-03-21 Thread Galchin Vasili
Hello, In my blah.hsc, I have allocbytes (#const (struct bozo)) .. where struct bozo is a bunch of long int ,,, In the runhaskell Setup.hs build step I get a nasty error message about an incomplete type. I have look at many times but this error doesn't make sense to me. ?? Kind regards,