Go to the documentation of this file. 6 #ifndef DYNAMIC_GRAPH_PYTHON_DEPRECATED_HH 7 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED_HH 25 # if defined(__cplusplus) && (__cplusplus >= 201402L) 26 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED [[deprecated]] 27 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED_MESSAGE(message) [[deprecated(#message)]] 28 # elif defined(__GNUC__) || defined(__clang__) 29 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED __attribute__ ((deprecated)) 30 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED_MESSAGE(message) __attribute__ (( deprecated(#message) )) 32 # if defined(_MSC_VER) && !defined(__INTEL_COMPILER) 33 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED __declspec (deprecated) 34 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED_MESSAGE(message) __declspec ( deprecated(#message) ) 37 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED 38 # define DYNAMIC_GRAPH_PYTHON_DEPRECATED_MESSAGE(message) 40 # endif // __cplusplus