24 Aug 2001 12:20:41 -0600, Alastair David Reid <[EMAIL PROTECTED]> pisze: > Let's add some asserts to the affected code so that we'll get warnings > when we try to compile the code on a system that breaks these assumptions. > Something like this: > > #if SIZEOF_INT != SIZEOF_PTR > #error "Pointer difference operation could overflow - please fix" > #endif In ghc Int always has the same size as the pointer. Or did you mean something other? -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTĘPCZA QRCZAK _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi
- Re: FFI Report comments Manuel M. T. Chakravarty
- Re: FFI Report, CVS Id 1.11 Marcin 'Qrczak' Kowalczyk
- Re: FFI Report, CVS Id 1.11 Manuel M. T. Chakravarty
- Re: FFI Report, CVS Id 1.11 Carl R. Witty
- Re: FFI Report, CVS Id 1.11 Manuel M. T. Chakravarty
- RE: FFI Report, CVS Id 1.11 Simon Marlow
- RE: FFI Report, CVS Id 1.11 Manuel M. T. Chakravarty
- RE: FFI Report, CVS Id 1.11 Simon Peyton-Jones
- Re: FFI Report, CVS Id 1.11 Alastair David Reid
- Re: FFI Report, CVS Id 1.11 Manuel M. T. Chakravarty
- RE: FFI Report, CVS Id 1.11 Marcin 'Qrczak' Kowalczyk
- RE: FFI Report, CVS Id 1.11 Manuel M. T. Chakravarty
- RE: FFI Report, CVS Id 1.11 Simon Marlow
- Re: FFI Report, CVS Id 1.11 Alastair David Reid
- RE: FFI Report, CVS Id 1.11 Simon Marlow
- Re: RE: FFI Report, CVS Id 1.11 Malcolm Wallace