Disable -Waddress in lightweight_test_test.cpp

This commit is contained in:
Peter Dimov
2020-04-28 02:04:29 +03:00
parent 0a6b8e667b
commit 295b72cbc0

View File

@ -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"