diff --git a/test/lightweight_test_test.cpp b/test/lightweight_test_test.cpp index 2880625..73538b4 100644 --- a/test/lightweight_test_test.cpp +++ b/test/lightweight_test_test.cpp @@ -39,6 +39,10 @@ void f( bool x ) } } +#if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Waddress" +#endif + #if defined(__clang__) && defined(__has_warning) # if __has_warning( "-Wstring-plus-int" ) # pragma clang diagnostic ignored "-Wstring-plus-int"