A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix build with old clangs
[simgrid.git]
/
teshsuite
/
simix
/
stack-overflow
/
stack-overflow.cpp
diff --git
a/teshsuite/simix/stack-overflow/stack-overflow.cpp
b/teshsuite/simix/stack-overflow/stack-overflow.cpp
index
551b5a0
..
427b866
100644
(file)
--- a/
teshsuite/simix/stack-overflow/stack-overflow.cpp
+++ b/
teshsuite/simix/stack-overflow/stack-overflow.cpp
@@
-1,6
+1,6
@@
/* stack_overflow -- simple program generating a stack overflow */
/* stack_overflow -- simple program generating a stack overflow */
-/* Copyright (c) 2014. The SimGrid Team.
+/* Copyright (c) 2014
-2018
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-46,7
+46,7
@@
int main(int argc, char* argv[])
SIMIX_function_register("master", master);
SIMIX_create_environment(argv[1]);
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;
SIMIX_run();
return 0;