mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Add newlines, fflush
This commit is contained in:
@ -30,7 +30,7 @@ BOOST_NORETURN inline void verbose_terminate_handler()
|
|||||||
|
|
||||||
#if defined(BOOST_NO_EXCEPTIONS)
|
#if defined(BOOST_NO_EXCEPTIONS)
|
||||||
|
|
||||||
std::fputs( "std::terminate called with exceptions disabled", stderr );
|
std::fputs( "std::terminate called with exceptions disabled\n", stderr );
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@ -73,11 +73,12 @@ BOOST_NORETURN inline void verbose_terminate_handler()
|
|||||||
}
|
}
|
||||||
catch( ... )
|
catch( ... )
|
||||||
{
|
{
|
||||||
std::fputs( "std::terminate called after throwing an unknown exception", stderr );
|
std::fputs( "std::terminate called after throwing an unknown exception\n", stderr );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
std::fflush( stdout );
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user