X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a9c49e3259a2ed01783c60089872c3e802fbec5a..bd031688c75b0120d21a705ae3ee325ca0718530:/src/simix/smx_global.cpp diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 8a524e18df..cca99ec5ab 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -33,7 +33,7 @@ std::unique_ptr simix_global; void (*SMPI_switch_data_segment)(simgrid::s4u::ActorPtr) = nullptr; bool _sg_do_verbose_exit = true; -static void inthandler(int) +XBT_ATTRIB_NORETURN static void inthandler(int) { if ( _sg_do_verbose_exit ) { XBT_INFO("CTRL-C pressed. The current status will be displayed before exit (disable that behavior with option 'verbose-exit')."); @@ -361,7 +361,7 @@ static bool SIMIX_execute_timers() try { timer->callback(); } catch (...) { - xbt_die("Exception thrown ouf of timer callback"); + xbt_die("Exception thrown out of timer callback"); } delete timer; }