From faf78e24948280b25ccad71e5fe027809f8c6279 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 23 Apr 2024 06:10:50 +0200 Subject: Adding upstream version 2.9.2. Signed-off-by: Daniel Baumann --- test/libapt/common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/libapt/common.h (limited to 'test/libapt/common.h') diff --git a/test/libapt/common.h b/test/libapt/common.h new file mode 100644 index 0000000..d69711d --- /dev/null +++ b/test/libapt/common.h @@ -0,0 +1,11 @@ +/* + * GTest is a horribly broken library needing lots of diagnostic overrides, + * do them here. + */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdouble-promotion" +#pragma GCC diagnostic ignored "-Wsign-promo" +#pragma GCC diagnostic ignored "-Wsign-compare" +#include +#pragma GCC diagnostic pop + -- cgit v1.2.3