diff options
Diffstat (limited to 'vcl/inc/skia/utils.hxx')
-rw-r--r-- | vcl/inc/skia/utils.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/skia/utils.hxx b/vcl/inc/skia/utils.hxx index 355718e8bfa1..3c19192e1c3a 100644 --- a/vcl/inc/skia/utils.hxx +++ b/vcl/inc/skia/utils.hxx @@ -32,7 +32,15 @@ #include <premac.h> #include <SkRegion.h> #include <SkSurface.h> +#if defined __GNUC__ && !defined __clang__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wattributes" +#pragma GCC diagnostic ignored "-Wshadow" +#endif #include <tools/sk_app/WindowContext.h> +#if defined __GNUC__ && !defined __clang__ +#pragma GCC diagnostic pop +#endif #include <postmac.h> #include <string_view> |