On 13 Dec 2011, at 15:42, Bernd wrote:
Is it thoretically possible to make an otherwise perfectly working
program crash with access violation only because I used the
nostackframe modifier on a nested procedure?
Yes. See also http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=15527
I think the "nostackframe" directive should probably only be allowed
for pure assembler routines. In other cases it can only result in
buggy code, since there is no way to know what the compiler will do.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal