Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
#include "xbt/error.h" /* needed for xbt_die */
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 16 Nov 2004 17:11:35 +0000 (17:11 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 16 Nov 2004 17:11:35 +0000 (17:11 +0000)
commit945609a7a65edb913de4858b2baf9663014d3974
tree61ad3d2258fcffca6fcfc5af86ac8acee9086870
parentb01b2a3a3042334245c03df9ec70b62e197fecf0
#include "xbt/error.h" /* needed for xbt_die */

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
include/xbt/swag.h
include/xbt/sysdep.h