X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a17bc1d7ecf4e2db86a7e6226d7ab6a0b1344908..8f561fbf18e6995590fab6bc65e662e6797ff3fa:/include/xbt/base.h diff --git a/include/xbt/base.h b/include/xbt/base.h index 9359d530ce..4ecf84e014 100644 --- a/include/xbt/base.h +++ b/include/xbt/base.h @@ -47,6 +47,7 @@ # define XBT_ATTRIB_NORETURN __attribute__((__noreturn__)) # define XBT_ATTRIB_UNUSED __attribute__((__unused__)) +# define XBT_ATTRIB_DEPRECATED(m) __attribute__((__deprecated__(m))) /* Constructor priorities exist since gcc 4.3. Apparently, they are however not * supported on Macs. */ @@ -57,7 +58,6 @@ # define _XBT_GNUC_CONSTRUCTOR(prio) __attribute__((__constructor__)) # define _XBT_GNUC_DESTRUCTOR(prio) __attribute__((__destructor__)) # endif -# undef _XBT_NEED_INIT_PRAGMA #if defined(__GNUC__) # define XBT_ALWAYS_INLINE inline __attribute__ ((always_inline))