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

@ -2,14 +2,15 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt)
#define BOOST_ALLOW_DEPRECATED_SYMBOLS
#include <boost/array.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/config.hpp>
#include <boost/config/workaround.hpp>
#include <cstddef>
// c_array and get_c_array are nonstandard extensions
// probably need to be deprecated and removed
// c_array and get_c_array are deprecated nonstandard extensions
template<class T, std::size_t N> void test()
{