Test output: teeks99-dkr-mc17-warn - contract - public_function-max_args1 / clang-linux-17~c++20~warn
Rev e5cdcdb017326dad630ab2d85172e2d81bde89bc / Tue, 12 Nov 2024 10:22:04 +0000
Compile [2024-11-12 13:08:32 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_CONTRACT_MAX_ARGS=1   -I".." -I"../libs/contract/test/public_function"  -c -o "/var/boost/run/results/boost/bin.v2/libs/contract/test/public_function-max_args1.test/clang-linux-17~c++20~warn/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/public_function/max_args1.o" "../libs/contract/test/public_function/max_args1.cpp"

In file included from ../libs/contract/test/public_function/max_args1.cpp:12:
../libs/contract/test/public_function/max_args.hpp:200:13: error: expected expression
            BOOST_CONTRACT_TEST_MAX_ARGS_TEST_, ~)
            ^
../boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
                         ^
../boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
../boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
#    define BOOST_PP_CAT_I(a, b) a ## b
                                 ^
<scratch space>:188:1: note: expanded from here
BOOST_PP_REPEAT_1
^
In file included from ../libs/contract/test/public_function/max_args1.cpp:12:
../libs/contract/test/public_function/max_args.hpp:200:13: error: use of undeclared identifier 'BOOST_CONTRACT_TEST_MAX_ARGS_N_'
../boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
                         ^
../boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
../boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
#    define BOOST_PP_CAT_I(a, b) a ## b
                                 ^
<scratch space>:188:1: note: expanded from here
BOOST_PP_REPEAT_1
^
In file included from ../libs/contract/test/public_function/max_args1.cpp:12:
../libs/contract/test/public_function/max_args.hpp:200:13: error: expected expression
../boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
                         ^
../boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
../boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
#    define BOOST_PP_CAT_I(a, b) a ## b
                                 ^
<scratch space>:188:1: note: expanded from here
BOOST_PP_REPEAT_1
^
In file included from ../libs/contract/test/public_function/max_args1.cpp:12:
../libs/contract/test/public_function/max_args.hpp:200:13: error: use of undeclared identifier 'BOOST_CONTRACT_TEST_MAX_ARGS_N_'
../boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
                         ^
../boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
../boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
#    define BOOST_PP_CAT_I(a, b) a ## b
                                 ^
<scratch space>:188:1: note: expanded from here
BOOST_PP_REPEAT_1
^
In file included from ../libs/contract/test/public_function/max_args1.cpp:12:
In file included from ../libs/contract/test/public_function/max_args.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/max_args1.cpp:12:
In file included from ../libs/contract/test/public_function/max_args.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/max_args1.cpp:12:
In file included from ../libs/contract/test/public_function/max_args.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/max_args1.cpp:12:
In file included from ../libs/contract/test/public_function/max_args.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
      ^
4 warnings and 4 errors generated.