Hi,

The exception is not handled by the program. In that case "[[noreturn]]
void std::terminate()" is called by the C++-runtime. std::terminate
calls the currently installed std::terminate_handler. The default
std::terminate_handler calls std::abort. After calling std::abort an
implementation defined status is returned to the host environment that
indicates unsuccessful execution.

So basically both programs do the right thing.

-- 
Groeten,

Joost Kraaijeveld


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to