diff options
Diffstat (limited to 'src/base/compiler.hh')
-rw-r--r-- | src/base/compiler.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/compiler.hh b/src/base/compiler.hh index b1fea055c..1a104dd87 100644 --- a/src/base/compiler.hh +++ b/src/base/compiler.hh @@ -80,6 +80,8 @@ # define M5_VAR_USED __attribute__((unused)) # define M5_ATTR_PACKED __attribute__ ((__packed__)) # define M5_NO_INLINE __attribute__ ((__noinline__)) +# define M5_DEPRECATED __attribute__((deprecated)) +# define M5_DEPRECATED_MSG(MSG) __attribute__((deprecated(MSG))) #endif #if defined(__clang__) |