Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This change avoid the redefinitions of log categories. To do this, the parent categor...
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 12:30:06 +0000 (12:30 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 12:30:06 +0000 (12:30 +0000)
commitad1b4e81c8f354761e994fa74f4b5333c916dd71
treee310448ad98e972330108e3b99d09d15405e172a
parent6cbdb08389ff1e88cf34833b1795e646ffac2dc0
This change avoid the redefinitions of log categories. To do this, the parent category of a subcategory must be declared extern instead
public data (see the definition of the macro XBT_LOG_NEW_SUBCATEGORY). An other change corrects the definition of the macro
XBT_LOG_NEW_ROOT_SUBCATEGORY. Indeed, Ansi C (Visual C++ compiler standard language) doesn't allow to initialize a structure during
its declaration with non constant values.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4979 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/xbt/log.h