On 23 Jun 2011, at 21:45, Martin wrote: > It may bne rare, sure. But it is also one that is very hard to find. Because > code like this may run without crash, for a long time, and by the time one > notices it, it is hard to track. And *if* const param are used, it is easy to > sneak in, even if the author is available of it (which I believe very very > few people are)
FWIW: Valgrind should also be able to identify such errors (of course, it requires that you are on a platform that's supported by Valgrind) Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel