From ec21450522e3c2124f3510eef5cfd88420483248 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 18:18:01 -0700 Subject: Low hanging fruit --- src/ints/cmp_test.cpp | 3 +++ src/ints/udl_test.cpp | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/ints') diff --git a/src/ints/cmp_test.cpp b/src/ints/cmp_test.cpp index 5767579..bcff87d 100644 --- a/src/ints/cmp_test.cpp +++ b/src/ints/cmp_test.cpp @@ -24,6 +24,9 @@ #include "../poison.hpp" + +#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" + // Google Test is *really* slow to compile this file #undef EXPECT_EQ #define EXPECT_EQ(a, b) assert(a == b) diff --git a/src/ints/udl_test.cpp b/src/ints/udl_test.cpp index acb4f76..3fe01f5 100644 --- a/src/ints/udl_test.cpp +++ b/src/ints/udl_test.cpp @@ -24,6 +24,9 @@ #include "../poison.hpp" + +#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" TEST(ints, smc) -- cgit v1.2.3-60-g2f50