xbt_backtrace_display(&e);
}
+#ifndef WIN32
extern char **environ; /* the environment, as specified by the opengroup */
+#endif
void xbt_ex_setup_backtrace(xbt_ex_t *e) {
#if defined(HAVE_EXECINFO_H) && defined(HAVE_POPEN) && defined(ADDR2LINE)
char *thrower=NULL;
if (e->remote)
- bprintf(" on host %s(%d)",e->host,e->pid);
+ thrower = bprintf(" on host %s(%d)",e->host,e->pid);
fprintf(stderr,
"** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n"