Workaround for gcc 11.3 on Ubuntu 22
*/
#ifdef __has_c_attribute
#if __has_c_attribute(deprecated)
-#define AZ_DEPRECATED [[deprecated]]
+#define AZ_DEPRECATED __attribute__((__deprecated__))
#endif // __has_c_attribute(deprecated)
#endif // __has_c_attribute
