Loading...
Searching...
No Matches
Go to the documentation of this file.
50 #define CBEAM_SUPPRESS_WARNINGS_PUSH() \
51 __pragma(warning(push, 0))
52#elif defined(__GNUC__) || defined(__clang__) || defined(__MINGW32__) || defined(__MINGW64__)
54 #define CBEAM_SUPPRESS_WARNINGS_PUSH() \
55 _Pragma("GCC diagnostic push") \
56 _Pragma("GCC diagnostic ignored \"-Wsign-compare\"") \
57 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
58 _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") \
59 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
60 _Pragma("GCC diagnostic ignored \"-Wextra\"") \
61 _Pragma("GCC diagnostic ignored \"-Wnonnull\"") \
62 _Pragma("GCC diagnostic ignored \"-Wpedantic\"")
64 #define CBEAM_SUPPRESS_WARNINGS_PUSH()
79 #define CBEAM_SUPPRESS_WARNINGS_POP() \
80 __pragma(warning(pop))
81#elif defined(__GNUC__) || defined(__clang__) || defined(__MINGW32__) || defined(__MINGW64__)
83 #define CBEAM_SUPPRESS_WARNINGS_POP() \
84 _Pragma("GCC diagnostic pop")
86 #define CBEAM_SUPPRESS_WARNINGS_POP()