13 #pragma clang diagnostic push
14 #pragma clang diagnostic ignored "-Wunknown-warning-option"
17 #pragma clang diagnostic ignored "-Wdeprecated"
18 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
19 #pragma clang diagnostic ignored "-Wdeprecated-dynamic-exception-spec"
20 #pragma clang diagnostic ignored "-Wdeprecated-register"
21 #pragma clang diagnostic ignored "-Wdocumentation"
22 #pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
23 #pragma clang diagnostic ignored "-Wexit-time-destructors"
24 #pragma clang diagnostic ignored "-Wextra-semi"
25 #pragma clang diagnostic ignored "-Wglobal-constructors"
26 #pragma clang diagnostic ignored "-Wignored-qualifiers"
27 #pragma clang diagnostic ignored "-Wmissing-noreturn"
28 #pragma clang diagnostic ignored "-Wnewline-eof"
29 #pragma clang diagnostic ignored "-Wold-style-cast"
30 #pragma clang diagnostic ignored "-Wrange-loop-analysis"
31 #pragma clang diagnostic ignored "-Wreorder"
32 #pragma clang diagnostic ignored "-Wreorder-ctor"
33 #pragma clang diagnostic ignored "-Wshadow"
34 #pragma clang diagnostic ignored "-Wsign-compare"
35 #pragma clang diagnostic ignored "-Wsign-conversion"
36 #pragma clang diagnostic ignored "-Wundef"
37 #pragma clang diagnostic ignored "-Wunused-but-set-variable"
38 #pragma clang diagnostic ignored "-Wunused-lambda-capture"
39 #pragma clang diagnostic ignored "-Wunused-local-typedef"
40 #pragma clang diagnostic ignored "-Wunused-parameter"
41 #pragma clang diagnostic ignored "-Wunused-value"
42 #pragma clang diagnostic ignored "-Wunused-variable"
43 #pragma clang diagnostic ignored "-Wweak-vtables"
44 #pragma clang diagnostic ignored "-Wunused-private-field"
45 #pragma clang diagnostic ignored "-Wmissing-field-initializers"
46 #pragma clang diagnostic ignored "-Wconversion"
47 #pragma clang diagnostic ignored "-Wunused-function"
48 #pragma clang diagnostic ignored "-Wbitwise-instead-of-logical"
49#elif defined(__GNUC__)
50 #pragma GCC diagnostic push
51 #pragma GCC diagnostic ignored "-Wpragmas"
54 #pragma GCC diagnostic ignored "-Warray-bounds"
55 #pragma GCC diagnostic ignored "-Wcast-function-type"
56 #pragma GCC diagnostic ignored "-Wclass-memaccess"
57 #pragma GCC diagnostic ignored "-Wconversion"
58 #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
59 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
60 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
61 #pragma GCC diagnostic ignored "-Wdeprecated"
62 #pragma GCC diagnostic ignored "-Wextra-semi"
63 #pragma GCC diagnostic ignored "-Wignored-qualifiers"
64 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
65 #pragma GCC diagnostic ignored "-Wmisleading-indentation"
66 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
67 #pragma GCC diagnostic ignored "-Wmissing-noreturn"
68 #pragma GCC diagnostic ignored "-Wold-style-cast"
69 #pragma GCC diagnostic ignored "-Wredundant-decls"
70 #pragma GCC diagnostic ignored "-Wshadow"
71 #pragma GCC diagnostic ignored "-Wsign-compare"
72 #pragma GCC diagnostic ignored "-Wsign-conversion"
73 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
74 #pragma GCC diagnostic ignored "-Wstringop-overflow"
75 #pragma GCC diagnostic ignored "-Wswitch-default"
76 #pragma GCC diagnostic ignored "-Wtautological-compare"
77 #pragma GCC diagnostic ignored "-Wundef"
78 #pragma GCC diagnostic ignored "-Wuninitialized"
79 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
80 #pragma GCC diagnostic ignored "-Wunused-function"
81 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
82 #pragma GCC diagnostic ignored "-Wunused-parameter"
83 #pragma GCC diagnostic ignored "-Wunused-result"
84 #pragma GCC diagnostic ignored "-Wunused-variable"
85#elif defined(_MSC_VER)
87 #pragma warning(disable : 26439)
88 #pragma warning(disable : 26451)
89 #pragma warning(disable : 26495)
90 #pragma warning(disable : 26812)
91 #pragma warning(disable : 4005)
92 #pragma warning(disable : 4018)
93 #pragma warning(disable : 4101)
94 #pragma warning(disable : 4244)
95 #pragma warning(disable : 4251)
97 #pragma warning(disable : 4267)
98 #pragma warning(disable : 4305)
99 #pragma warning(disable : 4275)
100 #pragma warning(disable : 4477)
101 #pragma warning(disable : 4828)
102 #pragma warning(disable : 4996)