We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7963e8e commit 809b207Copy full SHA for 809b207
platform/toolchain.h
@@ -220,10 +220,10 @@
220
* @endcode
221
*/
222
#ifndef MBED_DEPRECATED
223
-#if defined(__GNUC__) || defined(__clang__)
224
-#define MBED_DEPRECATED(M) __attribute__((deprecated(M)))
225
-#elif defined(__CC_ARM)
+#if defined(__CC_ARM)
226
#define MBED_DEPRECATED(M) __attribute__((deprecated))
+#elif defined(__GNUC__) || defined(__clang__)
+#define MBED_DEPRECATED(M) __attribute__((deprecated(M)))
227
#else
228
#define MBED_DEPRECATED(M)
229
#endif
0 commit comments