3 #include "../Config/DeprecationConfig.hh" 5 #if defined(__cplusplus) && (__cplusplus >= 201402L) 6 # define OVM_DEPRECATED(msg) [[deprecated(msg)]] 7 #elif defined(__GNUC__) || defined(__clang__) 8 # define OVM_DEPRECATED(msg) __attribute__((deprecated)) 9 #elif defined(_MSC_VER) 10 # define OVM_DEPRECATED(msg) __declspec(deprecated) 12 # pragma message("WARNING: You need to implement DEPRECATED for this compiler") 13 # define OVM_DEPRECATED(msg)