From 732b4255ce44c933bfbf63d1a4badd5f8e7ea005 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Thu, 8 Nov 2018 18:03:01 +0000 Subject: [PATCH] revert toolchain changes --- platform/mbed_toolchain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mbed_toolchain.h b/platform/mbed_toolchain.h index 8203570ddb..fba7d32bed 100644 --- a/platform/mbed_toolchain.h +++ b/platform/mbed_toolchain.h @@ -277,7 +277,7 @@ #if defined(__CC_ARM) #define MBED_DEPRECATED(M) __attribute__((deprecated)) #elif defined(__GNUC__) || defined(__clang__) -#define MBED_DEPRECATED(M) +#define MBED_DEPRECATED(M) __attribute__((deprecated(M))) #else #define MBED_DEPRECATED(M) #endif