summaryrefslogtreecommitdiffstats
path: root/test/libapt/common.h
blob: d69711d50c00ff05dfe4e91e20c81e22fc838e0d (plain)
1
2
3
4
5
6
7
8
9
10
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 <gtest/gtest.h>
#pragma GCC diagnostic pop