[PATCH setup] Throw exceptions instead of exiting with error codes

Jon Turney jon.turney@dronecode.org.uk
Wed Dec 20 16:06:00 GMT 2017


On 19/12/2017 17:20, Ken Brown wrote:
> ---
>   Exception.h |  1 +
>   PickView.cc | 11 +++++++----
>   choose.cc   |  7 +++++--
>   3 files changed, 13 insertions(+), 6 deletions(-)

Yeah, silently dying seems like a bad idea.

Hmmm... does this not need a corresponding use of TOPLEVEL_CATCH to 
transform that exception into a fatal() ?

Or does the default handling of the exception by the runtime report the 
error?

In any case, some commentary in the commit about how these exceptions 
are expected to be handled would good.



More information about the Cygwin-apps mailing list