24 #if __cplusplus >= 201402L 25 # define OPENPMDAPI_DEPRECATED(msg) [[deprecated(msg)]] 28 # define OPENPMDAPI_DEPRECATED(msg) __attribute__((deprecated(msg))) 29 # elif defined(__GNUC__) && defined(__GNUC_PATCHLEVEL__) 30 # define OPENPMDAPI_DEPRECATED(msg) __attribute__((deprecated)) 31 # elif defined(_MSC_VER) 32 # define OPENPMDAPI_DEPRECATED(msg) __declspec(deprecated) 34 # define OPENPMDAPI_DEPRECATED(msg)