mirror of
https://github.com/boostorg/assert.git
synced 2026-01-25 16:42:22 +01:00
Add <warning>extra to all tests, -Wshadow to gcc
This commit is contained in:
@@ -43,6 +43,8 @@ void test_default_ndebug()
|
||||
BOOST_ASSERT_MSG( 0, "msg" );
|
||||
BOOST_ASSERT_MSG( !x, "msg" );
|
||||
BOOST_ASSERT_MSG( x == 0, "msg" );
|
||||
|
||||
(void)x;
|
||||
}
|
||||
|
||||
// BOOST_ENABLE_ASSERT_DEBUG_HANDLER, !NDEBUG
|
||||
@@ -99,6 +101,8 @@ void test_debug_handler_ndebug()
|
||||
BOOST_ASSERT_MSG( x == 0, "msg" );
|
||||
|
||||
BOOST_TEST( handler_invoked == 0 );
|
||||
|
||||
(void)x;
|
||||
}
|
||||
|
||||
#undef BOOST_ENABLE_ASSERT_DEBUG_HANDLER
|
||||
|
||||
Reference in New Issue
Block a user