ut icon indicating copy to clipboard operation
ut copied to clipboard

GCC 10.2 warnings from -Wshadow

Open Sebanisu opened this issue 4 years ago • 0 comments

Expected Behavior

No warnings.

Actual Behavior

Multiple shadowing of names in code. I have to enable -Wno-error=shadow with -Werror or I couldn't compile.

Steps to Reproduce the Problem

  1. enable -Wshadow
  2. compile with gcc
  3. warnings

Specifications

  • Version: trunk
  • Platform: gcc 10.2 on wsl linux
  • Subsystem: ?
====================[ Build | VIIIArchive_FileData | Release ]==================
/usr/bin/cmake --build /mnt/d/dev/OpenVIII_CPP_WIP/cmake-build-release --target VIIIArchive_FileData --config Release
[3/4] Building CXX object tests/CMakeF...ve_FileData.dir/Release/FileData.cpp.o
In file included from ../tests/FileData.cpp:1:
_deps/ut-src/include/boost/ut.hpp: In constructor ‘constexpr boost::ext::ut::v1_1_8::detail::value<T, <template-parameter-1-2> >::value(const T&)’:
_deps/ut-src/include/boost/ut.hpp:567:48: warning: declaration of ‘value’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::value<T, <template-parameter-1-2> >’ [-Wshadow]
  567 |   constexpr /*explicit(false)*/ value(const T& value) : value_{value} {}
      |                                       ~~~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:564:19: note: shadowed declaration is here
  564 | struct value : op {
      |                   ^
_deps/ut-src/include/boost/ut.hpp: In constructor ‘constexpr boost::ext::ut::v1_1_8::detail::value<T, typename boost::ext::ut::v1_1_8::type_traits::requires_<is_floating_point_v<T> >::type>::value(const T&, T)’:
_deps/ut-src/include/boost/ut.hpp:580:28: warning: declaration of ‘value’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::value<T, typename boost::ext::ut::v1_1_8::type_traits::requires_<is_floating_point_v<T> >::type>’ [-Wshadow]
  580 |   constexpr value(const T& value, const T precision) : value_{value} {
      |                   ~~~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:576:10: note: shadowed declaration is here
  576 |     : op {
      |          ^
_deps/ut-src/include/boost/ut.hpp: In constructor ‘constexpr boost::ext::ut::v1_1_8::runner<TReporter, MaxPathSize>::filter::filter(std::string_view)’:
_deps/ut-src/include/boost/ut.hpp:1190:59: warning: declaration of ‘filter’ shadows a member of ‘boost::ext::ut::v1_1_8::runner<TReporter, MaxPathSize>::filter’ [-Wshadow]
 1190 |     constexpr /*explicit(false)*/ filter(std::string_view filter = {})
      |                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
_deps/ut-src/include/boost/ut.hpp:1186:16: note: shadowed declaration is here
 1186 |   class filter {
      |                ^
_deps/ut-src/include/boost/ut.hpp: In member function ‘constexpr auto boost::ext::ut::v1_1_8::detail::test::operator=(boost::ext::ut::v1_1_8::detail::test_location<void (*)()>)’:
_deps/ut-src/include/boost/ut.hpp:1406:54: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1406 |   constexpr auto operator=(test_location<void (*)()> test) {
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In member function ‘constexpr typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type boost::ext::ut::v1_1_8::detail::test::operator=(Test)’:
_deps/ut-src/include/boost/ut.hpp:1419:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1419 |   constexpr auto operator=(Test test) ->
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In member function ‘constexpr auto boost::ext::ut::v1_1_8::detail::test::operator=(void (*)(std::string_view)) const’:
_deps/ut-src/include/boost/ut.hpp:1430:35: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1430 |   constexpr auto operator=(void (*test)(std::string_view)) const {
      |                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In member function ‘constexpr decltype (test(declval<std::string_view>())) boost::ext::ut::v1_1_8::detail::test::operator=(Test)’:
_deps/ut-src/include/boost/ut.hpp:1437:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1437 |   constexpr auto operator=(Test test)
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In constructor ‘constexpr boost::ext::ut::v1_1_8::suite::suite(TSuite)’:
_deps/ut-src/include/boost/ut.hpp:2091:46: warning: declaration of ‘suite’ shadows a member of ‘boost::ext::ut::v1_1_8::suite’ [-Wshadow]
 2091 |   constexpr /*explicit(false)*/ suite(TSuite suite) {
      |                                       ~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:2089:14: note: shadowed declaration is here
 2089 | struct suite {
      |              ^
_deps/ut-src/include/boost/ut.hpp: In lambda function:
_deps/ut-src/include/boost/ut.hpp:2183:60: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps::step’ [-Wshadow]
 2183 |           pattern_, [expr, pattern = pattern_](const auto& step) {
      |                                                ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:14: note: shadowed declaration is here
 2166 |   class step {
      |              ^
_deps/ut-src/include/boost/ut.hpp: In constructor ‘constexpr boost::ext::ut::v1_1_8::bdd::gherkin::steps::steps(const TSteps&)’:
_deps/ut-src/include/boost/ut.hpp:2202:53: warning: declaration of ‘steps’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2202 |   constexpr /*explicit(false)*/ steps(const TSteps& steps) : steps_{steps} {}
      |                                       ~~~~~~~~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:2159:13: note: shadowed declaration is here
 2159 | class steps {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In member function ‘auto boost::ext::ut::v1_1_8::bdd::gherkin::steps::operator|(const TGherkin&)’:
_deps/ut-src/include/boost/ut.hpp:2207:16: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2207 |     for (auto& step : gherkin_) {
      |                ^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In lambda function:
_deps/ut-src/include/boost/ut.hpp:2235:53: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2235 |     const auto is_scenario = [&pattern](const auto& step) {
      |                                         ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In lambda function:
_deps/ut-src/include/boost/ut.hpp:2241:61: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2241 |     const auto call_steps = [this, is_scenario](const auto& step,
      |                                                 ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In member function ‘void boost::ext::ut::v1_1_8::bdd::gherkin::steps::next(const TPattern&)’:
_deps/ut-src/include/boost/ut.hpp:2257:22: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2257 |     for (const auto& step : gherkin_) {
      |                      ^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type boost::ext::ut::v1_1_8::detail::test::operator=(Test) [with Test = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]::<lambda()>; typename boost::ext::ut::v1_1_8::type_traits::requires_<(! is_convertible_v<Test, void (*)()>)>::type <anonymous> = 0; typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]::<lambda()>]’:
../tests/FileData.cpp:48:9:   required from ‘main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]’
../tests/FileData.cpp:75:27:   required from here
_deps/ut-src/include/boost/ut.hpp:1419:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1419 |   constexpr auto operator=(Test test) ->
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type boost::ext::ut::v1_1_8::detail::test::operator=(Test) [with Test = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]::<lambda()>; typename boost::ext::ut::v1_1_8::type_traits::requires_<(! is_convertible_v<Test, void (*)()>)>::type <anonymous> = 0; typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]::<lambda()>]’:
../tests/FileData.cpp:70:9:   required from ‘main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = std::__cxx11::basic_stringstream<char>]’
../tests/FileData.cpp:75:27:   required from here
_deps/ut-src/include/boost/ut.hpp:1419:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1419 |   constexpr auto operator=(Test test) ->
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr auto boost::ext::ut::v1_1_8::detail::test::operator=(boost::ext::ut::v1_1_8::detail::test_location<void (*)()>) [with Ts = {}]’:
../tests/FileData.cpp:76:7:   required from here
_deps/ut-src/include/boost/ut.hpp:1406:54: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1406 |   constexpr auto operator=(test_location<void (*)()> test) {
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type boost::ext::ut::v1_1_8::detail::test::operator=(Test) [with Test = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]::<lambda()>; typename boost::ext::ut::v1_1_8::type_traits::requires_<(! is_convertible_v<Test, void (*)()>)>::type <anonymous> = 0; typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]::<lambda()>]’:
../tests/FileData.cpp:48:9:   required from ‘main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]’
../tests/FileData.cpp:116:30:   required from here
_deps/ut-src/include/boost/ut.hpp:1419:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1419 |   constexpr auto operator=(Test test) ->
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type boost::ext::ut::v1_1_8::detail::test::operator=(Test) [with Test = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]::<lambda()>; typename boost::ext::ut::v1_1_8::type_traits::requires_<(! is_convertible_v<Test, void (*)()>)>::type <anonymous> = 0; typename boost::ext::ut::v1_1_8::type_traits::identity<Test, decltype (test())>::type = main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]::<lambda()>]’:
../tests/FileData.cpp:70:9:   required from ‘main()::<lambda()>::<lambda()>::<lambda(auto:92&)> [with auto:92 = tl::read::input]’
../tests/FileData.cpp:116:30:   required from here
_deps/ut-src/include/boost/ut.hpp:1419:33: warning: declaration of ‘test’ shadows a member of ‘boost::ext::ut::v1_1_8::detail::test’ [-Wshadow]
 1419 |   constexpr auto operator=(Test test) ->
      |                            ~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:1400:13: note: shadowed declaration is here
 1400 | struct test {
      |             ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr boost::ext::ut::v1_1_8::suite::suite(TSuite) [with TSuite = main()::<lambda()>]’:
../tests/FileData.cpp:134:3:   required from here
_deps/ut-src/include/boost/ut.hpp:2091:46: warning: declaration of ‘suite’ shadows a member of ‘boost::ext::ut::v1_1_8::suite’ [-Wshadow]
 2091 |   constexpr /*explicit(false)*/ suite(TSuite suite) {
      |                                       ~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:2089:14: note: shadowed declaration is here
 2089 | struct suite {
      |              ^
_deps/ut-src/include/boost/ut.hpp:2091:46: warning: declaration of ‘suite’ shadows a member of ‘boost::ext::ut::v1_1_8::suite’ [-Wshadow]
 2091 |   constexpr /*explicit(false)*/ suite(TSuite suite) {
      |                                       ~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:2089:14: note: shadowed declaration is here
 2089 | struct suite {
      |              ^
_deps/ut-src/include/boost/ut.hpp:2091:46: warning: declaration of ‘suite’ shadows a member of ‘boost::ext::ut::v1_1_8::suite’ [-Wshadow]
 2091 |   constexpr /*explicit(false)*/ suite(TSuite suite) {
      |                                       ~~~~~~~^~~~~
_deps/ut-src/include/boost/ut.hpp:2089:14: note: shadowed declaration is here
 2089 | struct suite {
      |              ^
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘void boost::ext::ut::v1_1_8::bdd::gherkin::steps::next(const TPattern&) [with TPattern = std::__cxx11::basic_string<char>]’:
_deps/ut-src/include/boost/ut.hpp:2172:35:   required from here
_deps/ut-src/include/boost/ut.hpp:2235:53: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2235 |     const auto is_scenario = [&pattern](const auto& step) {
      |                                         ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp:2241:61: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2241 |     const auto call_steps = [this, is_scenario](const auto& step,
      |                                                 ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp:2257:22: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2257 |     for (const auto& step : gherkin_) {
      |                      ^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps::next<std::__cxx11::basic_string<char> >::<lambda(const auto:27&, auto:28)> [with auto:27 = std::__cxx11::basic_string<char>; auto:28 = long unsigned int]’:
_deps/ut-src/include/boost/ut.hpp:2259:19:   required from ‘void boost::ext::ut::v1_1_8::bdd::gherkin::steps::next(const TPattern&) [with TPattern = std::__cxx11::basic_string<char>]’
_deps/ut-src/include/boost/ut.hpp:2172:35:   required from here
_deps/ut-src/include/boost/ut.hpp:2241:61: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2241 |     const auto call_steps = [this, is_scenario](const auto& step,
      |                                                 ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps::next<std::__cxx11::basic_string<char> >::<lambda(const auto:26&)> [with auto:26 = std::__cxx11::basic_string<char>]’:
_deps/ut-src/include/boost/ut.hpp:2244:24:   required from ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps::next<std::__cxx11::basic_string<char> >::<lambda(const auto:27&, auto:28)> [with auto:27 = std::__cxx11::basic_string<char>; auto:28 = long unsigned int]’
_deps/ut-src/include/boost/ut.hpp:2259:19:   required from ‘void boost::ext::ut::v1_1_8::bdd::gherkin::steps::next(const TPattern&) [with TPattern = std::__cxx11::basic_string<char>]’
_deps/ut-src/include/boost/ut.hpp:2172:35:   required from here
_deps/ut-src/include/boost/ut.hpp:2235:53: warning: declaration of ‘step’ shadows a member of ‘boost::ext::ut::v1_1_8::bdd::gherkin::steps’ [-Wshadow]
 2235 |     const auto is_scenario = [&pattern](const auto& step) {
      |                                         ~~~~~~~~~~~~^~~~
_deps/ut-src/include/boost/ut.hpp:2166:9: note: shadowed declaration is here
 2166 |   class step {
      |         ^~~~
_deps/ut-src/include/boost/ut.hpp: In instantiation of ‘constexpr boost::ext::ut::v1_1_8::runner<TReporter, MaxPathSize>::filter::filter(std::string_view) [with TReporter = boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer>; auto MaxPathSize = 16; std::string_view = std::basic_string_view<char>]’:
_deps/ut-src/include/boost/ut.hpp:1367:10:   required from ‘constexpr boost::ext::ut::v1_1_8::runner<TReporter, MaxPathSize>::runner() [with TReporter = boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer>; auto MaxPathSize = 16]’
_deps/ut-src/include/boost/ut.hpp:1375:36:   required from ‘boost::ext::ut::v1_1_8::runner<boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer> > boost::ext::ut::v1_1_8::cfg<boost::ext::ut::v1_1_8::override>’
_deps/ut-src/include/boost/ut.hpp:1384:14:   required from ‘constexpr decltype(auto) boost::ext::ut::v1_1_8::detail::on(TEvent&&) [with Ts = {boost::ext::ut::v1_1_8::detail::eq_<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string_view<char, std::char_traits<char> > >}; TEvent = boost::ext::ut::v1_1_8::events::assertion<boost::ext::ut::v1_1_8::detail::eq_<std::__cxx11::basic_string<char>, std::basic_string_view<char> > >]’
_deps/ut-src/include/boost/ut.hpp:2031:50:   required from ‘constexpr auto boost::ext::ut::v1_1_8::expect(const TExpr&, const boost::ext::ut::v1_1_8::reflection::source_location&) [with TExpr = boost::ext::ut::v1_1_8::detail::eq_<std::__cxx11::basic_string<char>, std::basic_string_view<char> >; typename boost::ext::ut::v1_1_8::type_traits::requires_<(is_op_v<TExpr> || is_convertible_v<TExpr, bool>)>::type <anonymous> = 0]’
../tests/FileData.cpp:19:49:   required from here
_deps/ut-src/include/boost/ut.hpp:1190:59: warning: declaration of ‘filter’ shadows a member of ‘boost::ext::ut::v1_1_8::runner<boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer> >::filter’ [-Wshadow]
 1190 |     constexpr /*explicit(false)*/ filter(std::string_view filter = {})
      |                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
_deps/ut-src/include/boost/ut.hpp:1186:16: note: shadowed declaration is here
 1186 |   class filter {
      |                ^
_deps/ut-src/include/boost/ut.hpp:1190:59: warning: declaration of ‘filter’ shadows a member of ‘boost::ext::ut::v1_1_8::runner<boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer> >::filter’ [-Wshadow]
 1190 |     constexpr /*explicit(false)*/ filter(std::string_view filter = {})
      |                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
_deps/ut-src/include/boost/ut.hpp:1186:16: note: shadowed declaration is here
 1186 |   class filter {
      |                ^
_deps/ut-src/include/boost/ut.hpp:1190:59: warning: declaration of ‘filter’ shadows a member of ‘boost::ext::ut::v1_1_8::runner<boost::ext::ut::v1_1_8::reporter<boost::ext::ut::v1_1_8::printer> >::filter’ [-Wshadow]
 1190 |     constexpr /*explicit(false)*/ filter(std::string_view filter = {})
      |                                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
_deps/ut-src/include/boost/ut.hpp:1186:16: note: shadowed declaration is here
 1186 |   class filter {
      |                ^
[4/4] Linking CXX executable tests/Release/FileData

Build finished

Sebanisu avatar May 18 '21 13:05 Sebanisu