cppu: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date: Sat Mar 21 08:40:09 2026 +0200
Bump minimum GCC version to 13
Change-Id: I6f37996fc03b191eee78f3057323cb8d795e255f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210555
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -260,14 +260,7 @@ static_assert(sizeof(second) == sizeof(int), "sizeof(second) != sizeof(int)");
|
|||||||
|
|
||||||
struct Char4
|
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;
|
[[maybe_unused]] Char3 chars;
|
||||||
#if defined __GNUC__ && (__GNUC__ < 12 || (__GNUC__ == 12 && __GNUC_MINOR__ < 1)) && !defined __clang__
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
#endif
|
|
||||||
char c;
|
char c;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user