From: cherierm Date: Tue, 26 Sep 2006 15:10:24 +0000 (+0000) Subject: Line 451, __FUNCTION__ replaced macro by _XBT_FUNCTION macro defined in misc.h header... X-Git-Tag: v3.3~2532 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ee28396e69a7419ce5840ee9500b958004802b90 Line 451, __FUNCTION__ replaced macro by _XBT_FUNCTION macro defined in misc.h header for code compliance. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2827 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/ex.h b/include/xbt/ex.h index dcdbd7abd4..c0e20d151b 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -448,7 +448,7 @@ extern void __xbt_ex_terminate_default(xbt_ex_t *e); #define THROW7(c,v,m,a1,a2,a3,a4,a5,a6,a7) _THROW(c,v,bprintf(m,a1,a2,a3,a4,a5,a6,a7)) #define THROW_IMPOSSIBLE THROW0(unknown_error,0,"The Impossible Did Happen (yet again)") -#define THROW_UNIMPLEMENTED THROW1(unknown_error,0,"Function %s unimplemented",__FUNCTION__) +#define THROW_UNIMPLEMENTED THROW1(unknown_error,0,"Function %s unimplemented",_XBT_FUNCTION) #ifndef NDEBUG # define DIE_IMPOSSIBLE xbt_assert0(0,"The Impossible Did Happen (yet again)")