diff --git a/src/compress_lzma.cpp b/src/compress_lzma.cpp index df310170..1f100b09 100644 --- a/src/compress_lzma.cpp +++ b/src/compress_lzma.cpp @@ -30,6 +30,12 @@ #include "compress.h" #include "mem.h" +#if (ACC_CC_CLANG) +# pragma clang diagnostic ignored "-Wshadow" +#endif +#if (ACC_CC_GNUC >= 0x040200) +# pragma GCC diagnostic ignored "-Wshadow" +#endif #if (ACC_CC_MSC) # pragma warning(disable: 4456) // -Wno-shadow #endif