Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to fix build with old clangs
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 10 Jul 2018 05:56:36 +0000 (07:56 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 10 Jul 2018 05:56:41 +0000 (07:56 +0200)
It does not break on my clang version even without this, so other breakage may remain

teshsuite/simix/stack-overflow/stack-overflow.cpp

index 042af13..427b866 100644 (file)
@@ -46,7 +46,7 @@ int main(int argc, char* argv[])
 
   SIMIX_function_register("master", master);
   SIMIX_create_environment(argv[1]);
-  simcall_process_create("master", master, NULL, sg_host_by_name("Tremblay"), 0, NULL, NULL);
+  simcall_process_create(std::string("master"), master, NULL, sg_host_by_name("Tremblay"), 0, NULL, NULL);
   SIMIX_run();
 
   return 0;