Go to the documentation of this file. 28 #define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN \ 29 _Pragma("clang diagnostic push") \ 30 _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") 31 #define CRAS_IGNORE_DEPRECATED_WARNING_END \ 32 _Pragma("clang diagnostic pop") 34 #elif defined __GNUC__ 36 #define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN \ 37 _Pragma("GCC diagnostic push") \ 38 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") 39 #define CRAS_IGNORE_DEPRECATED_WARNING_END \ 40 _Pragma("GCC diagnostic pop") 42 #elif defined _MSC_VER 44 #define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN \ 45 __pragma(warning(push)) \ 46 __pragma(warning(disable: 4996)) 47 #define CRAS_IGNORE_DEPRECATED_WARNING_END \ 48 __pragma(warning(pop)) 52 #define CRAS_IGNORE_DEPRECATED_WARNING_BEGIN 53 #define CRAS_IGNORE_DEPRECATED_WARNING_END 73 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN \ 74 _Pragma("clang diagnostic push") \ 75 _Pragma("clang diagnostic ignored \"-Wformat-security\"") 76 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_END \ 77 _Pragma("clang diagnostic pop") 79 #elif defined __GNUC__ 81 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN \ 82 _Pragma("GCC diagnostic push") \ 83 _Pragma("GCC diagnostic ignored \"-Wformat-security\"") 84 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_END \ 85 _Pragma("GCC diagnostic pop") 89 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_BEGIN 90 #define CRAS_IGNORE_PRINTF_SECURITY_WARNING_END
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:32:53