15 #ifndef VISIONTRANSFER_COMMON_H 16 #define VISIONTRANSFER_COMMON_H 18 #define VISIONTRANSFER_MAJOR_VERSION 10 19 #define VISIONTRANSFER_MINOR_VERSION 6 20 #define VISIONTRANSFER_PATCH_VERSION 0 24 # define VT_EXPORT __declspec(dllexport) 30 #ifdef VISIONTRANSFER_NO_DEPRECATION_WARNINGS 32 # define DEPRECATED(msg) 34 # if __cplusplus >= 201402L 35 # define DEPRECATED(msg) [[deprecated(msg)]] 36 # elif defined(__GNUC__) || defined(__clang__) 37 # define DEPRECATED(msg) __attribute__ ((deprecated(msg))) 38 # elif defined(_MSC_VER) 39 # define DEPRECATED(msg) __declspec(deprecated(msg)) 41 # define DEPRECATED(msg) 46 #ifndef VISIONTRANSFER_NO_OLD_ABI_WARNING 47 # // Warn for old glibc++ ABI, unless it's our own internal compatibility build 48 # if defined(_GLIBCXX_USE_CXX11_ABI) && _GLIBCXX_USE_CXX11_ABI == 0 49 # warning "CAUTION: You are using _GLIBCXX_USE_CXX11_ABI=0. Make sure to link a libvisiontransfer built with the same setting." 55 #if defined(_MSVC_LANG) 56 #define VISIONTRANSFER_CPLUSPLUS_VERSION _MSVC_LANG 58 #define VISIONTRANSFER_CPLUSPLUS_VERSION __cplusplus