Lines 21-27
Link Here
|
21 |
|
21 |
|
22 |
int main(int argc, const char* argv[]) { |
22 |
int main(int argc, const char* argv[]) { |
23 |
std::set_terminate(fl::Exception::terminate); |
23 |
std::set_terminate(fl::Exception::terminate); |
|
|
24 |
#if (__cplusplus < 201703L) && defined(USE_DEPRECATED_CPP11_CALLS) |
24 |
std::set_unexpected(fl::Exception::terminate); |
25 |
std::set_unexpected(fl::Exception::terminate); |
|
|
26 |
#endif |
25 |
::signal(SIGSEGV, fl::Exception::signalHandler); |
27 |
::signal(SIGSEGV, fl::Exception::signalHandler); |
26 |
::signal(SIGABRT, fl::Exception::signalHandler); |
28 |
::signal(SIGABRT, fl::Exception::signalHandler); |
27 |
::signal(SIGILL, fl::Exception::signalHandler); |
29 |
::signal(SIGILL, fl::Exception::signalHandler); |