25 Aug
2001
25 Aug
'01
3:27 a.m.
24 Aug 2001 12:20:41 -0600, Alastair David Reid <reid@cs.utah.edu> 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 * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
9192
Age (days ago)
9192
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcin 'Qrczak' Kowalczyk