From d1c4462e353db8ced6c5615b1732ca6d40adc56e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Dec 2019 21:06:58 +0200 Subject: [PATCH] Ignore -Waddress in assert_test and verify_test --- test/assert_test.cpp | 6 +++++- test/verify_test.cpp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/assert_test.cpp b/test/assert_test.cpp index 3233828..bc5c3db 100644 --- a/test/assert_test.cpp +++ b/test/assert_test.cpp @@ -9,7 +9,11 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#include +#include + +#if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Waddress" +#endif #include diff --git a/test/verify_test.cpp b/test/verify_test.cpp index 3481636..ea46d53 100644 --- a/test/verify_test.cpp +++ b/test/verify_test.cpp @@ -9,7 +9,11 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#include +#include + +#if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Waddress" +#endif #include