Suppress some harmless clang warnings in the test suite
Use wxCLANG_WARNING_SUPPRESS() to avoid multiple warnings in CATCH headers as well as in some of our own tests.
This commit is contained in:
@@ -135,7 +135,9 @@ void VarArgTestCase::CharPrintf()
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4309) // truncation of constant value
|
||||
#endif
|
||||
wxCLANG_WARNING_SUPPRESS(constant-conversion)
|
||||
c = 240;
|
||||
wxCLANG_WARNING_RESTORE(constant-conversion)
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(default:4309)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user