[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Stack restore done by OS



Helmut Karlowski wrote:
True, but it is more unlikely to make the same mistake twice (e.g. push
3, pop 4, should be 2 or so), than just not knowing about what the
function pops.

In cdecl you may have wrong arguments in the called function, but
afterwards it's all correct again.

You are right.
Personally, I prefer it crashes immediately rather than hiding a bug very hard to find in the future.

--
Vincent Rivière