| 1 |
|
| 2 |
#if defined(__clang__) |
| 3 |
|
| 4 |
|
| 5 |
#pragma clang diagnostic push |
| 6 |
#if __has_warning("-Wsuggest-override") |
| 7 |
#pragma clang diagnostic ignored "-Wsuggest-override" |
| 8 |
#endif |
| 9 |
|
| 10 |
#if __has_warning("-Wsuggest-destructor-override") |
| 11 |
#pragma clang diagnostic ignored "-Wsuggest-destructor-override" |
| 12 |
#endif |
| 13 |
|
| 14 |
#if __has_warning("-Wzero-as-null-pointer-constant") |
| 15 |
#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" |
| 16 |
#endif |
| 17 |
|
| 18 |
#if __has_warning("-Wredundant-parens") |
| 19 |
#pragma clang diagnostic ignored "-Wredundant-parens" |
| 20 |
#endif |
| 21 |
|
| 22 |
#if __has_warning("-Wcomma") |
| 23 |
#pragma clang diagnostic ignored "-Wcomma" |
| 24 |
#endif |
| 25 |
|
| 26 |
#if __has_warning("-Wdocumentation") |
| 27 |
#pragma clang diagnostic ignored "-Wdocumentation" |
| 28 |
#endif |
| 29 |
|
| 30 |
#if __has_warning("-Wdocumentation-unknown-command") |
| 31 |
#pragma clang diagnostic ignored "-Wdocumentation-unknown-command" |
| 32 |
#endif |
| 33 |
|
| 34 |
#if __has_warning("-Wcast-qual") |
| 35 |
#pragma clang diagnostic ignored "-Wcast-qual" |
| 36 |
#endif |
| 37 |
|
| 38 |
#if __has_warning("-Wswitch-enum") |
| 39 |
#pragma clang diagnostic ignored "-Wswitch-enum" |
| 40 |
#endif |
| 41 |
|
| 42 |
#if __has_warning("-Wdisabled-macro-expansion") |
| 43 |
#pragma clang diagnostic ignored "-Wdisabled-macro-expansion" |
| 44 |
#endif |
| 45 |
|
| 46 |
#if __has_warning("-Wdeprecated-dynamic-exception-spec") |
| 47 |
#pragma clang diagnostic ignored "-Wdeprecated-dynamic-exception-spec" |
| 48 |
#endif |
| 49 |
|
| 50 |
#if __has_warning("-Wdeprecated-copy-with-user-provided-copy") |
| 51 |
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy" |
| 52 |
#endif |
| 53 |
|
| 54 |
#if __has_warning("-Wunused-template") |
| 55 |
#pragma clang diagnostic ignored "-Wunused-template" |
| 56 |
#endif |
| 57 |
|
| 58 |
#if __has_warning("-Wsign-conversion") |
| 59 |
#pragma clang diagnostic ignored "-Wsign-conversion" |
| 60 |
#endif |
| 61 |
|
| 62 |
#if __has_warning("-Wdeprecated-dynamic-exception-spec") |
| 63 |
#pragma clang diagnostic ignored "-Wdeprecated-dynamic-exception-spec" |
| 64 |
#endif |
| 65 |
|
| 66 |
#if __has_warning("-Wshadow") |
| 67 |
#pragma clang diagnostic ignored "-Wshadow" |
| 68 |
#endif |
| 69 |
|
| 70 |
#if __has_warning("-Wundef") |
| 71 |
#pragma clang diagnostic ignored "-Wundef" |
| 72 |
#endif |
| 73 |
|
| 74 |
#if __has_warning("-Wdeprecated-copy-with-user-provided-dtor") |
| 75 |
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-dtor" |
| 76 |
#endif |
| 77 |
|
| 78 |
|
| 79 |
#endif |