From: Augustin Degomme Date: Mon, 27 Sep 2021 15:10:53 +0000 (+0200) Subject: use a more simgrid-y way of telling the compiler that this does never happen. X-Git-Tag: v3.29~41 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5ec3fab5c32055670b4df98f72d88ea1bd56037a?hp=361da673f9e66e13ce1ef5f21bc395439606c170 use a more simgrid-y way of telling the compiler that this does never happen. --- diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 65453e410e..f310707a51 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -642,5 +642,5 @@ void smpi_exit(int res){ smpi_exit_status = res; } simgrid::s4u::this_actor::exit(); - while(1);//necessary for the noreturn attribute + THROW_IMPOSSIBLE; }