Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar, praise sonar
[simgrid.git] / include / xbt / base.h
index 9359d530cea903e3be5eed4712dc950fd4685490..4ecf84e0141d4c6635d49aed8ffa548a83d087b2 100644 (file)
@@ -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))