Closed hossbeast closed 11 years ago
Done. A development build now has
--errors-unwind --errors-immediate
A non-development build doesn't have the option, and defaults to --errors-immediate.
This required reimplementing the calling convention across the entire codebase (including liblistwise) such that 0 means success, nonzero means failure. At present, I am using >0 to mean error + unwind, and <0 to mean error (but dont unwind). That's how I should have implemented the calling convention anyway though.
In a normal build of fab, error reporting should only report the immediate frame of the error.
unwinding and reporting on the entire callstack should be the default in DEVEL-compiled mode.