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
Remove usage of xbt_assert[0-9].
[simgrid.git]
/
include
/
xbt
/
ex.h
diff --git
a/include/xbt/ex.h
b/include/xbt/ex.h
index
e15422e
..
ae391fa
100644
(file)
--- a/
include/xbt/ex.h
+++ b/
include/xbt/ex.h
@@
-461,7
+461,7
@@
extern void __xbt_ex_terminate_default(xbt_ex_t * e);
THROWF(unknown_error, 0, "Function %s unimplemented",_XBT_FUNCTION)
#ifndef NDEBUG
THROWF(unknown_error, 0, "Function %s unimplemented",_XBT_FUNCTION)
#ifndef NDEBUG
-# define DIE_IMPOSSIBLE xbt_assert
0
(0,"The Impossible Did Happen (yet again)")
+# define DIE_IMPOSSIBLE xbt_assert(0,"The Impossible Did Happen (yet again)")
#else
# define DIE_IMPOSSIBLE exit(1);
#endif
#else
# define DIE_IMPOSSIBLE exit(1);
#endif