3 #if defined(__cplusplus) && (__cplusplus >= 201402L) 4 # define OVM_DEPRECATED(msg) [[deprecated(msg)]] 5 #elif defined(__GNUC__) || defined(__clang__) 6 # define OVM_DEPRECATED(msg) __attribute__((deprecated)) 7 #elif defined(_MSC_VER) 8 # define OVM_DEPRECATED(msg) __declspec(deprecated) 10 # pragma message("WARNING: You need to implement DEPRECATED for this compiler") 11 # define OVM_DEPRECATED(msg)