From: Gabriel Corona Date: Wed, 22 Jun 2016 12:53:18 +0000 (+0200) Subject: [xbt] Add XBT_ATTRIBUT_DEPRECATED(foo) X-Git-Tag: v3_14~892^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/40c3dfd364c97e63cabebcf94af76ff53fc5be05 [xbt] Add XBT_ATTRIBUT_DEPRECATED(foo) --- diff --git a/include/xbt/base.h b/include/xbt/base.h index 9359d530ce..259c84c893 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. */