Mt. At some places, I was using xbt_new0 without including xbt/error.h and
it failed. It seems to me that a .h should be self-contained but I also may
have not understood the way you handle your errors. I've added the previous
#include at the end of sysdep.h. You probably won't like it but tell me why
please.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@516
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* Whenever a new object with this struct is created, all fields have
to be set to NULL */
/* Whenever a new object with this struct is created, all fields have
to be set to NULL */
+#include "xbt/sysdep.h"
+
typedef struct xbt_swag_hookup {
void *next;
void *prev;
typedef struct xbt_swag_hookup {
void *next;
void *prev;
int atoi(const char *nptr);
END_DECL
int atoi(const char *nptr);
END_DECL
+#include "xbt/error.h" /* needed for xbt_die */
#endif /* _XBT_SYSDEP_H */
#endif /* _XBT_SYSDEP_H */