Test output: teeks99-dkr-dc17-warn - contract - public_function-overload_no_tva / clang-linux-17~c++20~warn
Rev bd3c3e9c38e826481a9b4983aab67bc29983418e / Mon, 11 Nov 2024 10:03:11 +0000
Compile [2024-11-11 12:49:40 UTC]: fail


    "clang++-17"   -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++20 -Wall -Wextra -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux  -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTRACT_DYN_LINK -DBOOST_NO_CXX11_VARIADIC_TEMPLATES   -I".." -I"../libs/contract/test/public_function"  -c -o "/var/boost/run/results/boost/bin.v2/libs/contract/test/public_function-overload_no_tva.test/clang-linux-17~c++20~warn/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/public_function/overload_no_tva.o" "../libs/contract/test/public_function/overload_no_tva.cpp"

In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:10:
In file included from ../boost/contract/public_function.hpp:17:
In file included from ../boost/contract/core/specify.hpp:24:
In file included from ../boost/contract/detail/condition/cond_post.hpp:15:
In file included from ../boost/contract/detail/type_traits/optional.hpp:10:
In file included from ../boost/optional.hpp:15:
In file included from ../boost/optional/optional.hpp:53:
In file included from ../boost/none.hpp:17:
../boost/none_t.hpp:24:2: error: "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier."
#error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier."
 ^
In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:10:
In file included from ../boost/contract/public_function.hpp:32:
In file included from ../boost/contract/detail/operation/static_public_function.hpp:20:
In file included from ../boost/contract/detail/checking.hpp:13:
In file included from ../boost/thread/mutex.hpp:16:
In file included from ../boost/thread/pthread/mutex.hpp:16:
In file included from ../boost/thread/lock_types.hpp:22:
In file included from ../boost/chrono/time_point.hpp:33:
In file included from ../boost/chrono/duration.hpp:33:
In file included from ../boost/chrono/config.hpp:15:
../boost/chrono/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.Chrono 1.82 and was removed in Boost.Chrono 1.84. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Chrono 1.82 and was removed in Boost.Chrono 1.84.")
^
../boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                 ^
<scratch space>:165:2: note: expanded from here
 message("C++03 support was deprecated in Boost.Chrono 1.82 and was removed in Boost.Chrono 1.84.")
 ^
In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:9:
In file included from ../libs/contract/test/public_function/../detail/oteststream.hpp:10:
In file included from ../boost/iostreams/tee.hpp:22:
../boost/iostreams/detail/functional.hpp:81:56: warning: definition of implicit copy constructor for 'device_close_all_operation<std::basic_ostream<char>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    BOOST_DELETED_FUNCTION(device_close_all_operation& operator=(const device_close_all_operation&))
                                                       ^
../boost/preprocessor/iteration/detail/limits/local_256.hpp:16:9: note: in implicit copy constructor for 'boost::iostreams::detail::device_close_all_operation<std::basic_ostream<char>>' first required here
        BOOST_PP_LOCAL_MACRO(1)
        ^
../boost/iostreams/detail/execute.hpp:97:20: note: expanded from macro 'BOOST_PP_LOCAL_MACRO'
                   op BOOST_PP_COMMA_IF(BOOST_PP_DEC(n)) \
                   ^
../boost/iostreams/tee.hpp:181:17: note: in instantiation of function template specialization 'boost::iostreams::detail::execute_all<boost::iostreams::detail::device_close_all_operation<std::basic_ostream<char>>, boost::iostreams::detail::device_close_all_operation<std::basic_ostringstream<char>>>' requested here
        detail::execute_all( detail::call_close_all(dev_),
                ^
../boost/iostreams/close.hpp:220:15: note: in instantiation of member function 'boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>::close' requested here
            t.close();
              ^
../boost/iostreams/close.hpp:103:28: note: in instantiation of function template specialization 'boost::iostreams::detail::close_impl<boost::iostreams::closable_tag>::close<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>' requested here
    detail::close_impl<T>::close(detail::unwrap(t), which); 
                           ^
../boost/iostreams/detail/adapter/concept_adapter.hpp:158:18: note: in instantiation of function template specialization 'boost::iostreams::close<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>' requested here
    { iostreams::close(dev, which); }
                 ^
../boost/iostreams/detail/adapter/concept_adapter.hpp:104:17: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    { any_impl::close(t_, dev, which); }
                ^
../boost/iostreams/stream_buffer.hpp:86:5: note: in instantiation of member function 'boost::iostreams::detail::indirect_streambuf<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::close_impl' requested here
    stream_buffer() { }
    ^
../boost/utility/base_from_member.hpp:143:11: note: in instantiation of member function 'boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::stream_buffer' requested here
        : member()
          ^
../boost/iostreams/stream.hpp:90:21: note: in instantiation of member function 'boost::base_from_member<boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>>::base_from_member' requested here
    stream_base() : pbase_type(), stream_type(&member) { }
                    ^
../boost/iostreams/stream.hpp:144:30: note: in instantiation of member function 'boost::iostreams::detail::stream_base<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::stream_base' requested here
    BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
                             ^
../libs/contract/test/public_function/../detail/oteststream.hpp:34:9: note: in instantiation of member function 'boost::iostreams::stream<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>::stream' requested here
        boost::iostreams::stream<boost::iostreams::tee_device<
        ^
In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:9:
In file included from ../libs/contract/test/public_function/../detail/oteststream.hpp:11:
In file included from ../boost/iostreams/stream.hpp:21:
In file included from ../boost/iostreams/stream_buffer.hpp:22:
In file included from ../boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23:
../boost/iostreams/detail/adapter/concept_adapter.hpp:121:45: warning: definition of implicit copy constructor for 'concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    BOOST_DELETED_FUNCTION(concept_adapter& operator=(const concept_adapter&))
                                            ^
../boost/iostreams/detail/optional.hpp:100:25: note: in implicit copy constructor for 'boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>' first required here
        new (address()) T(t); 
                        ^
../boost/iostreams/detail/streambuf/indirect_streambuf.hpp:185:14: note: in instantiation of member function 'boost::iostreams::detail::optional<boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>>::reset' requested here
    storage_.reset(wrapper(t));
             ^
../boost/iostreams/stream_buffer.hpp:106:24: note: in instantiation of member function 'boost::iostreams::detail::indirect_streambuf<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::open' requested here
            base_type::open(t BOOST_IOSTREAMS_PUSH_ARGS());
                       ^
../boost/iostreams/stream_buffer.hpp:94:45: note: in instantiation of member function 'boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::open_impl' requested here
    BOOST_IOSTREAMS_FORWARD( stream_buffer, open_impl, T,
                                            ^
../boost/iostreams/stream.hpp:159:22: note: in instantiation of member function 'boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::open' requested here
        this->member.open(dev BOOST_IOSTREAMS_PUSH_ARGS()); 
                     ^
../boost/iostreams/stream.hpp:144:38: note: in instantiation of member function 'boost::iostreams::stream<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>::open_impl' requested here
    BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
                                     ^
../libs/contract/test/public_function/../detail/oteststream.hpp:34:9: note: in instantiation of member function 'boost::iostreams::stream<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>::stream' requested here
        boost::iostreams::stream<boost::iostreams::tee_device<
        ^
In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:9:
In file included from ../libs/contract/test/public_function/../detail/oteststream.hpp:10:
In file included from ../boost/iostreams/tee.hpp:22:
../boost/iostreams/detail/functional.hpp:118:52: warning: definition of implicit copy constructor for 'member_close_operation<boost::iostreams::detail::linked_streambuf<char>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    BOOST_DELETED_FUNCTION(member_close_operation& operator=(const member_close_operation&))
                                                   ^
../boost/preprocessor/iteration/detail/limits/local_256.hpp:22:9: note: in implicit copy constructor for 'boost::iostreams::detail::member_close_operation<boost::iostreams::detail::linked_streambuf<char>>' first required here
        BOOST_PP_LOCAL_MACRO(3)
        ^
../boost/iostreams/detail/execute.hpp:97:20: note: expanded from macro 'BOOST_PP_LOCAL_MACRO'
                   op BOOST_PP_COMMA_IF(BOOST_PP_DEC(n)) \
                   ^
../boost/iostreams/detail/streambuf/indirect_streambuf.hpp:202:13: note: in instantiation of function template specialization 'boost::iostreams::detail::execute_all<boost::iostreams::detail::member_close_operation<boost::iostreams::detail::linked_streambuf<char>>, boost::iostreams::detail::member_close_operation<boost::iostreams::detail::linked_streambuf<char>>, boost::iostreams::detail::reset_operation<boost::iostreams::detail::optional<boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>>>, boost::iostreams::detail::clear_flags_operation<int>>' requested here
    detail::execute_all(
            ^
../boost/iostreams/stream_buffer.hpp:91:23: note: in instantiation of member function 'boost::iostreams::detail::indirect_streambuf<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::close' requested here
                this->close(); 
                      ^
../boost/utility/base_from_member.hpp:125:7: note: in instantiation of member function 'boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::~stream_buffer' requested here
class base_from_member
      ^
In file included from ../libs/contract/test/public_function/overload_no_tva.cpp:12:
In file included from ../libs/contract/test/public_function/overload.hpp:9:
In file included from ../libs/contract/test/public_function/../detail/oteststream.hpp:10:
In file included from ../boost/iostreams/tee.hpp:22:
../boost/iostreams/detail/functional.hpp:136:45: warning: definition of implicit copy constructor for 'reset_operation<boost::iostreams::detail::optional<boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    BOOST_DELETED_FUNCTION(reset_operation& operator=(const reset_operation&))
                                            ^
../boost/preprocessor/iteration/detail/limits/local_256.hpp:22:9: note: in implicit copy constructor for 'boost::iostreams::detail::reset_operation<boost::iostreams::detail::optional<boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>>>' first required here
        BOOST_PP_LOCAL_MACRO(3)
        ^
../boost/iostreams/detail/execute.hpp:98:20: note: expanded from macro 'BOOST_PP_LOCAL_MACRO'
                   BOOST_PP_ENUM_PARAMS(BOOST_PP_DEC(n), c) \
                   ^
../boost/preprocessor/repetition/enum_params.hpp:24:71: note: expanded from macro 'BOOST_PP_ENUM_PARAMS'
#    define BOOST_PP_ENUM_PARAMS(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_PARAMS_M, param)
                                                                      ^
../boost/iostreams/detail/streambuf/indirect_streambuf.hpp:202:13: note: in instantiation of function template specialization 'boost::iostreams::detail::execute_all<boost::iostreams::detail::member_close_operation<boost::iostreams::detail::linked_streambuf<char>>, boost::iostreams::detail::member_close_operation<boost::iostreams::detail::linked_streambuf<char>>, boost::iostreams::detail::reset_operation<boost::iostreams::detail::optional<boost::iostreams::detail::concept_adapter<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>>>>, boost::iostreams::detail::clear_flags_operation<int>>' requested here
    detail::execute_all(
            ^
../boost/iostreams/stream_buffer.hpp:91:23: note: in instantiation of member function 'boost::iostreams::detail::indirect_streambuf<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::close' requested here
                this->close(); 
                      ^
../boost/utility/base_from_member.hpp:125:7: note: in instantiation of member function 'boost::iostreams::stream_buffer<boost::iostreams::tee_device<std::basic_ostream<char>, std::basic_ostringstream<char>>, std::char_traits<char>, std::allocator<char>>::~stream_buffer' requested here
class base_from_member
      ^
5 warnings and 1 error generated.