Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef _ADTF_BASE_DEPRECATED_HEADER_
8#define _ADTF_BASE_DEPRECATED_HEADER_
24#ifdef ADTF3_NO_DEPRECATED_WARNING
25 #define ADTF3_DEPRECATED(_depr_message_)
27 #define ADTF3_DEPRECATED(_depr_message_) [[deprecated(_depr_message_)]]
31 #define ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN \
32 _Pragma("warning( push )") \
33 _Pragma("warning( disable: 4996 )")
34#elif defined(__clang__)
35 #define ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN \
36 _Pragma("clang diagnostic push") \
37 _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
39 #define ADTF3_IGNORE_DEPRECATION_WARNING_BEGIN \
40 _Pragma("GCC diagnostic push") \
41 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
45 #define ADTF3_IGNORE_DEPRECATION_WARNING_END \
46 _Pragma("warning( pop )")
47#elif defined(__clang__)
48 #define ADTF3_IGNORE_DEPRECATION_WARNING_END \
49 _Pragma("clang diagnostic pop")
51 #define ADTF3_IGNORE_DEPRECATION_WARNING_END \
52 _Pragma("GCC diagnostic pop")