Enable warnings=extra, warnings-as-errors=on in test suite

This commit is contained in:
Peter Dimov
2025-01-27 17:41:50 +02:00
parent 07a14f33ef
commit 49e2a46c3a
8 changed files with 29 additions and 7 deletions

View File

@ -15,6 +15,8 @@ template<class T, std::size_t N> void test1()
BOOST_TEST_EQ( a.size(), N );
BOOST_TEST_EQ( a.empty(), N == 0 );
BOOST_TEST_EQ( a.max_size(), N );
(void)a; // msvc-12.0
}
{
@ -23,6 +25,8 @@ template<class T, std::size_t N> void test1()
BOOST_TEST_EQ( a.size(), N );
BOOST_TEST_EQ( a.empty(), N == 0 );
BOOST_TEST_EQ( a.max_size(), N );
(void)a; // msvc-12.0
}
}