diff options
-rw-r--r-- | svl/source/misc/sharedstringpool.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx index bf1f5554b957..7abe3ea77507 100644 --- a/svl/source/misc/sharedstringpool.cxx +++ b/svl/source/misc/sharedstringpool.cxx @@ -15,6 +15,10 @@ #include <unordered_map> #include <unordered_set> +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wshadow" +#endif #if defined __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" @@ -30,6 +34,9 @@ #if defined __clang__ #pragma clang diagnostic pop #endif +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif namespace svl { |