Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar using C++11 constructs
[simgrid.git] / include / xbt / base.h
index 9359d53..4ecf84e 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))