diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 17:38:49 +0500 |
| commit | 839151eaaad24771892afaae6bac690e31e58384 (patch) | |
| tree | e292449d621f7a1d503b975984a2aca240dd2d8f /CPP/Common/Common0.h | |
| parent | 5e96a8279489832924056b1fa82f29d5837c9469 (diff) | |
| download | 7zip-26.00.tar.gz 7zip-26.00.tar.bz2 7zip-26.00.zip | |
Diffstat (limited to 'CPP/Common/Common0.h')
| -rw-r--r-- | CPP/Common/Common0.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CPP/Common/Common0.h b/CPP/Common/Common0.h index 55606cd..5781a95 100644 --- a/CPP/Common/Common0.h +++ b/CPP/Common/Common0.h | |||
| @@ -126,8 +126,9 @@ if compiled with new GCC libstdc++, GCC libstdc++ can use: | |||
| 126 | #pragma GCC diagnostic ignored "-Wglobal-constructors" | 126 | #pragma GCC diagnostic ignored "-Wglobal-constructors" |
| 127 | #pragma GCC diagnostic ignored "-Wexit-time-destructors" | 127 | #pragma GCC diagnostic ignored "-Wexit-time-destructors" |
| 128 | 128 | ||
| 129 | #if defined(Z7_LLVM_CLANG_VERSION) && __clang_major__ >= 18 // 18.1.0RC | 129 | #if defined(Z7_LLVM_CLANG_VERSION) && __clang_major__ >= 18 /* 18.1.0RC */ \ |
| 130 | #pragma GCC diagnostic ignored "-Wswitch-default" | 130 | || defined(Z7_APPLE_CLANG_VERSION) && __clang_major__ >= 16 // for APPLE=17 (LLVM=19) |
| 131 | #pragma GCC diagnostic ignored "-Wswitch-default" | ||
| 131 | #endif | 132 | #endif |
| 132 | // #pragma GCC diagnostic ignored "-Wunused-private-field" | 133 | // #pragma GCC diagnostic ignored "-Wunused-private-field" |
| 133 | // #pragma GCC diagnostic ignored "-Wnonportable-system-include-path" | 134 | // #pragma GCC diagnostic ignored "-Wnonportable-system-include-path" |
