diff --git a/cppu/source/uno/check.cxx b/cppu/source/uno/check.cxx index 561434aa55f3..60ab3dba4e30 100644 --- a/cppu/source/uno/check.cxx +++ b/cppu/source/uno/check.cxx @@ -260,14 +260,7 @@ static_assert(sizeof(second) == sizeof(int), "sizeof(second) != sizeof(int)"); struct Char4 { -#if defined __GNUC__ && (__GNUC__ < 12 || (__GNUC__ == 12 && __GNUC_MINOR__ < 1)) && !defined __clang__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wattributes" -#endif [[maybe_unused]] Char3 chars; -#if defined __GNUC__ && (__GNUC__ < 12 || (__GNUC__ == 12 && __GNUC_MINOR__ < 1)) && !defined __clang__ -#pragma GCC diagnostic pop -#endif char c; };