This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]