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 "-Wcast-function-type"
52 #pragma GCC diagnostic ignored "-Wclass-memaccess"
53 #pragma GCC diagnostic ignored "-Wconversion"
54 #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
55 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
56 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
57 #pragma GCC diagnostic ignored "-Wdeprecated"
58 #pragma GCC diagnostic ignored "-Wextra-semi"
59 #pragma GCC diagnostic ignored "-Wignored-qualifiers"
60 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
61 #pragma GCC diagnostic ignored "-Wmisleading-indentation"
62 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
63 #pragma GCC diagnostic ignored "-Wmissing-noreturn"
64 #pragma GCC diagnostic ignored "-Wold-style-cast"
65 #pragma GCC diagnostic ignored "-Wredundant-decls"
66 #pragma GCC diagnostic ignored "-Wshadow"
67 #pragma GCC diagnostic ignored "-Wsign-compare"
68 #pragma GCC diagnostic ignored "-Wsign-conversion"
69 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
70 #pragma GCC diagnostic ignored "-Wswitch-default"
71 #pragma GCC diagnostic ignored "-Wundef"
72 #pragma GCC diagnostic ignored "-Wuninitialized"
73 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
74 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
75 #pragma GCC diagnostic ignored "-Wunused-parameter"
76 #pragma GCC diagnostic ignored "-Wunused-result"
77 #pragma GCC diagnostic ignored "-Wunused-variable"
78 #pragma GCC diagnostic ignored "-Wunused-function"
79#elif defined(_MSC_VER)
81 #pragma warning(disable : 26439)
82 #pragma warning(disable : 26451)
83 #pragma warning(disable : 26495)
84 #pragma warning(disable : 26812)
85 #pragma warning(disable : 4005)
86 #pragma warning(disable : 4018)
87 #pragma warning(disable : 4101)
88 #pragma warning(disable : 4244)
89 #pragma warning(disable : 4251)
91 #pragma warning(disable : 4267)
92 #pragma warning(disable : 4305)
93 #pragma warning(disable : 4275)
94 #pragma warning(disable : 4477)
95 #pragma warning(disable : 4828)
96 #pragma warning(disable : 4996)