Go to the documentation of this file.
7 #ifndef LCIO_DEPRECATED_H
8 #define LCIO_DEPRECATED_H 1
10 #define LCIO_DEFAULT_DEPRECATED(msg, func) func
15 #if __cplusplus >= 201402L
16 #if defined(__has_cpp_attribute) && __has_cpp_attribute(deprecated)
17 #define LCIO_DEPRECATED(msg, func) [[deprecated(msg)]] func
19 #define LCIO_DEPRECATED(msg, func) LCIO_DEFAULT_DEPRECATED(msg, func)
24 #define LCIO_DEPRECATED(msg, func) func __attribute__ ((deprecated(msg)))
25 #elif defined(_MSC_VER)
26 #define LCIO_DEPRECATED(msg, func) __declspec(deprecated(msg)) func
28 #define LCIO_DEPRECATED(msg, func) LCIO_DEFAULT_DEPRECATED(msg, func)
32 #endif // LCIO_DEPRECATED_H