Compile [2024-11-21 22:43:36 UTC]: fail
"g++-13" -fvisibility-inlines-hidden -std=c++20 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1 -DBOOST_CHRONO_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTAINER_NO_LIB=1 -DBOOST_CONTAINER_STATIC_LINK=1 -DBOOST_SYSTEM_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_TEST_NO_OLD_TOOLS -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I".." -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/assert/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/atomic/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/bind/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/chrono/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/container/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/core/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/function/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/integer/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/interprocess/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/intrusive/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/lockfree/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/move/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/mp11/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/optional/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/parameter/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/predef/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/ratio/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/system/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/throw_exception/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/variant2/include" -I"/mnt/fs1/run/teeks99-01/run/boost_root/libs/winapi/include" -c -o "/mnt/fs1/run/teeks99-01/run/results/boost/bin.v2/libs/lockfree/test/stack_unbounded_stress_test.test/gcc-13~c++20/debug/riscv_64/debug-symbols-off/link-static/threading-multi/visibility-hidden/stack_unbounded_stress_test.o" "../libs/lockfree/test/stack_unbounded_stress_test.cpp"
In file included from ../boost/lockfree/stack.hpp:20,
from ../libs/lockfree/test/stack_unbounded_stress_test.cpp:7:
../boost/lockfree/detail/freelist.hpp:274:18: error: ???uint16_t??? in namespace ???std??? does not name a type; did you mean ???wint_t????
274 | typedef std::uint16_t tag_t;
| ^~~~~~~~
| wint_t
../boost/lockfree/detail/freelist.hpp:275:18: error: ???uint16_t??? in namespace ???std??? does not name a type; did you mean ???wint_t????
275 | typedef std::uint16_t index_t;
| ^~~~~~~~
| wint_t
../boost/lockfree/detail/freelist.hpp:284:35: error: expected ???)??? before ???i???
284 | explicit tagged_index( index_t i, tag_t t = 0 ) :
| ~ ^~
| )
../boost/lockfree/detail/freelist.hpp:291:5: error: ???index_t??? does not name a type
291 | index_t get_index() const
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:296:21: error: ???index_t??? has not been declared
296 | void set_index( index_t i )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:304:5: error: ???tag_t??? does not name a type
304 | tag_t get_tag() const
| ^~~~~
../boost/lockfree/detail/freelist.hpp:309:5: error: ???tag_t??? does not name a type
309 | tag_t get_next_tag() const
| ^~~~~
../boost/lockfree/detail/freelist.hpp:315:19: error: ???tag_t??? has not been declared
315 | void set_tag( tag_t t )
| ^~~~~
../boost/lockfree/detail/freelist.hpp:332:5: error: ???index_t??? does not name a type
332 | index_t index;
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:333:5: error: ???tag_t??? does not name a type
333 | tag_t tag;
| ^~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::tagged_index::set_index(int)???:
../boost/lockfree/detail/freelist.hpp:298:17: error: overloaded function with no contextual type information
298 | index = i;
| ^
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::tagged_index::set_tag(int)???:
../boost/lockfree/detail/freelist.hpp:317:13: error: expected primary-expression before ???=??? token
317 | tag = t;
| ^
../boost/lockfree/detail/freelist.hpp: In member function ???bool boost::lockfree::detail::tagged_index::operator==(const boost::lockfree::detail::tagged_index&) const???:
../boost/lockfree/detail/freelist.hpp:323:31: error: ???const class boost::lockfree::detail::tagged_index??? has no member named ???index???
323 | return ( index == rhs.index ) && ( tag == rhs.tag );
| ^~~~~
../boost/lockfree/detail/freelist.hpp:323:48: error: expected primary-expression before ???==??? token
323 | return ( index == rhs.index ) && ( tag == rhs.tag );
| ^~
../boost/lockfree/detail/freelist.hpp:323:55: error: ???const class boost::lockfree::detail::tagged_index??? has no member named ???tag???
323 | return ( index == rhs.index ) && ( tag == rhs.tag );
| ^~~
../boost/lockfree/detail/freelist.hpp: At global scope:
../boost/lockfree/detail/freelist.hpp:430:27: error: ???index_t??? in ???class boost::lockfree::detail::tagged_index??? does not name a type
430 | typedef tagged_index::index_t index_t;
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:516:5: error: ???index_t??? does not name a type
516 | index_t null_handle( void ) const
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:521:5: error: ???index_t??? does not name a type
521 | index_t get_handle( T* pointer ) const
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:529:5: error: ???index_t??? does not name a type
529 | index_t get_handle( tagged_node_handle const& handle ) const
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:539:21: error: ???index_t??? has not been declared
539 | T* get_pointer( index_t index ) const
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:554:5: error: ???index_t??? does not name a type
554 | index_t allocate( void )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:563:5: error: ???index_t??? does not name a type
563 | index_t allocate_impl( void )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:582:5: error: ???index_t??? does not name a type
582 | index_t allocate_impl_unsafe( void )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:600:22: error: ???index_t??? has not been declared
600 | void deallocate( index_t index )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:608:27: error: ???index_t??? has not been declared
608 | void deallocate_impl( index_t index )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:622:34: error: ???index_t??? has not been declared
622 | void deallocate_impl_unsafe( index_t index )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::initialize()???:
../boost/lockfree/detail/freelist.hpp:418:36: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
418 | next_index->set_index( null_handle() );
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:418:36: note: (if you use ???-fpermissive???, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../boost/lockfree/detail/freelist.hpp:423:47: error: ???index_t??? does not name a type
423 | deallocate< false >( static_cast< index_t >( i ) );
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp: In constructor ???boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::fixed_size_freelist(const Allocator&, std::size_t)???:
../boost/lockfree/detail/freelist.hpp:435:43: error: ???index_t??? was not declared in this scope; did you mean ???index????
435 | pool_( tagged_index( static_cast< index_t >( count ), 0 ) )
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp:435:28: error: expected primary-expression before ???(??? token
435 | pool_( tagged_index( static_cast< index_t >( count ), 0 ) )
| ^
../boost/lockfree/detail/freelist.hpp:435:43: error: ???index_t??? does not name a type
435 | pool_( tagged_index( static_cast< index_t >( count ), 0 ) )
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::construct()???:
../boost/lockfree/detail/freelist.hpp:449:9: error: ???index_t??? was not declared in this scope; did you mean ???index????
449 | index_t node_index = allocate< ThreadSafe >();
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp:450:14: error: ???node_index??? was not declared in this scope
450 | if ( node_index == null_handle() )
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:450:28: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
450 | if ( node_index == null_handle() )
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:453:42: error: ???node_index??? was not declared in this scope
453 | T* node = NodeStorage::nodes() + node_index;
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::construct(const ArgumentType&)???:
../boost/lockfree/detail/freelist.hpp:461:9: error: ???index_t??? was not declared in this scope; did you mean ???index????
461 | index_t node_index = allocate< ThreadSafe >();
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp:462:14: error: ???node_index??? was not declared in this scope
462 | if ( node_index == null_handle() )
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:462:28: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
462 | if ( node_index == null_handle() )
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:465:42: error: ???node_index??? was not declared in this scope
465 | T* node = NodeStorage::nodes() + node_index;
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::construct(ArgumentType&&)???:
../boost/lockfree/detail/freelist.hpp:473:9: error: ???index_t??? was not declared in this scope; did you mean ???index????
473 | index_t node_index = allocate< ThreadSafe >();
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp:474:14: error: ???node_index??? was not declared in this scope
474 | if ( node_index == null_handle() )
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:474:28: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
474 | if ( node_index == null_handle() )
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:477:42: error: ???node_index??? was not declared in this scope
477 | T* node = NodeStorage::nodes() + node_index;
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::construct(const ArgumentType1&, const ArgumentType2&)???:
../boost/lockfree/detail/freelist.hpp:485:9: error: ???index_t??? was not declared in this scope; did you mean ???index????
485 | index_t node_index = allocate< ThreadSafe >();
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp:486:14: error: ???node_index??? was not declared in this scope
486 | if ( node_index == null_handle() )
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:486:28: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
486 | if ( node_index == null_handle() )
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp:489:42: error: ???node_index??? was not declared in this scope
489 | T* node = NodeStorage::nodes() + node_index;
| ^~~~~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::destruct(tagged_node_handle)???:
../boost/lockfree/detail/freelist.hpp:497:9: error: ???index_t??? was not declared in this scope; did you mean ???index????
497 | index_t index = tagged_index.get_index();
| ^~~~~~~
| index
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::destruct(T*)???:
../boost/lockfree/detail/freelist.hpp:508:48: error: ???index_t??? does not name a type
508 | deallocate< ThreadSafe >( static_cast< index_t >( n - NodeStorage::nodes() ) );
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::get_pointer(const tagged_node_handle&) const???:
../boost/lockfree/detail/freelist.hpp:536:34: error: ???const boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::tagged_node_handle??? {aka ???const class boost::lockfree::detail::tagged_index???} has no member named ???get_index???; did you mean ???set_index????
536 | return get_pointer( tptr.get_index() );
| ^~~~~~~~~
| set_index
../boost/lockfree/detail/freelist.hpp: In member function ???T* boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::get_pointer(int) const???:
../boost/lockfree/detail/freelist.hpp:541:23: error: there are no arguments to ???null_handle??? that depend on a template parameter, so a declaration of ???null_handle??? must be available [-fpermissive]
541 | if ( index == null_handle() )
| ^~~~~~~~~~~
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::deallocate_impl(int)???:
../boost/lockfree/detail/freelist.hpp:614:52: error: ???class boost::lockfree::detail::tagged_index??? has no member named ???get_tag???; did you mean ???set_tag????
614 | tagged_index new_pool( index, old_pool.get_tag() );
| ^~~~~~~
| set_tag
../boost/lockfree/detail/freelist.hpp:615:53: error: ???class boost::lockfree::detail::tagged_index??? has no member named ???get_index???; did you mean ???set_index????
615 | new_pool_node->next.set_index( old_pool.get_index() );
| ^~~~~~~~~
| set_index
../boost/lockfree/detail/freelist.hpp: In member function ???void boost::lockfree::detail::fixed_size_freelist<T, NodeStorage>::deallocate_impl_unsafe(int)???:
../boost/lockfree/detail/freelist.hpp:627:48: error: ???class boost::lockfree::detail::tagged_index??? has no member named ???get_tag???; did you mean ???set_tag????
627 | tagged_index new_pool( index, old_pool.get_tag() );
| ^~~~~~~
| set_tag
../boost/lockfree/detail/freelist.hpp:628:49: error: ???class boost::lockfree::detail::tagged_index??? has no member named ???get_index???; did you mean ???set_index????
628 | new_pool_node->next.set_index( old_pool.get_index() );
| ^~~~~~~~~
| set_index
../boost/lockfree/detail/freelist.hpp: At global scope:
../boost/lockfree/detail/freelist.hpp:661:73: error: ???index_t??? in ???class boost::lockfree::detail::tagged_index??? does not name a type
661 | typedef std::conditional_t< IsNodeBased, T*, typename tagged_index::index_t > handle_type;
| ^~~~~~~
../boost/lockfree/detail/freelist.hpp:661:81: error: template argument 3 is invalid
661 | typedef std::conditional_t< IsNodeBased, T*, typename tagged_index::index_t > handle_type;
| ^
../boost/lockfree/detail/freelist.hpp:661:18: error: ???<expression error>??? in namespace ???std??? does not name a type
661 | typedef std::conditional_t< IsNodeBased, T*, typename tagged_index::index_t > handle_type;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/lockfree/stack.hpp:104:103: error: ???uint16_t??? is not a member of ???std???; did you mean ???wint_t????
104 | static constexpr bool capacity_is_valid = has_capacity ? capacity - 1 < std::numeric_limits< std::uint16_t >::max()
| ^~~~~~~~
| wint_t
../boost/lockfree/stack.hpp:104:112: error: template argument 1 is invalid
104 | static constexpr bool capacity_is_valid = has_capacity ? capacity - 1 < std::numeric_limits< std::uint16_t >::max()
| ^
In file included from ../boost/lockfree/stack.hpp:16:
../boost/lockfree/stack.hpp:106:26: error: non-constant condition for static assertion
106 | BOOST_STATIC_ASSERT( capacity_is_valid );
| ^~~~~~~~~~~~~~~~~
../boost/static_assert.hpp:71:55: note: in definition of macro ???BOOST_STATIC_ASSERT???
71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__)
| ^~~~~~~~~~~
../boost/lockfree/stack.hpp: In instantiation of ???struct boost::lockfree::stack<long int>::node???:
../boost/lockfree/detail/freelist.hpp:59:42: required from ???boost::lockfree::detail::freelist_stack<T, Alloc>::freelist_stack(const Allocator&, std::size_t) [with Allocator = boost::alignment::aligned_allocator<boost::lockfree::stack<long int>::node, 64>; T = boost::lockfree::stack<long int>::node; Alloc = boost::alignment::aligned_allocator<boost::lockfree::stack<long int>::node, 64>; std::size_t = long unsigned int]???
../boost/lockfree/stack.hpp:181:9: required from ???boost::lockfree::stack<T, Options>::stack(size_type) [with Enabler = std::enable_if<true, void>; T = long int; Options = {}; size_type = long unsigned int]???
../libs/lockfree/test/stack_unbounded_stress_test.cpp:24:43: required from here
../boost/lockfree/stack.hpp:92:88: error: no type named ???handle_type??? in ???struct boost::lockfree::detail::select_tagged_handle<boost::lockfree::stack<long int>::node, true>???
92 | typedef typename detail::select_tagged_handle< node, node_based >::handle_type handle_t;
| ^~~~~~~~
../boost/lockfree/stack.hpp: In instantiation of ???bool boost::lockfree::stack<T, Options>::consume_one(Functor&&) [with Functor = boost::lockfree::stack<long int>::~stack()::<lambda(const long int&)>&; T = long int; Options = {}]???:
../boost/lockfree/stack.hpp:671:28: required from ???size_t boost::lockfree::stack<T, Options>::consume_all(Functor&&) [with Functor = boost::lockfree::stack<long int>::~stack()::<lambda(const long int&)>; T = long int; Options = {}; size_t = long unsigned int]???
../boost/lockfree/stack.hpp:249:20: required from ???boost::lockfree::stack<T, Options>::~stack() [with T = long int; Options = {}]???
../libs/lockfree/test/stack_unbounded_stress_test.cpp:24:43: required from here
../boost/lockfree/stack.hpp:649:58: error: ???struct boost::lockfree::stack<long int>::node??? has no member named ???next???
649 | tagged_node_handle new_tos( old_tos_pointer->next, old_tos.get_next_tag() );
| ~~~~~~~~~~~~~~~~~^~~~
../boost/lockfree/stack.hpp: In instantiation of ???void boost::lockfree::stack<T, Options>::link_nodes_atomic(node*, node*) [with T = long int; Options = {}]???:
../boost/lockfree/stack.hpp:338:9: required from ???bool boost::lockfree::stack<T, Options>::do_push(const T&) [with bool Bounded = true; T = long int; Options = {}]???
../boost/lockfree/stack.hpp:386:31: required from ???bool boost::lockfree::stack<T, Options>::bounded_push(const T&) [with T = long int; Options = {}]???
../libs/lockfree/test/test_common.hpp:59:41: required from ???void impl::queue_stress_tester<Bounded>::add_items(queue&) [with queue = boost::lockfree::stack<long int>; bool Bounded = false]???
../libs/lockfree/test/test_common.hpp:134:26: required from ???void impl::queue_stress_tester<Bounded>::run(queue&) [with queue = boost::lockfree::stack<long int>; bool Bounded = false]???
../libs/lockfree/test/stack_unbounded_stress_test.cpp:25:16: required from here
../boost/lockfree/stack.hpp:264:23: error: ???struct boost::lockfree::stack<long int>::node??? has no member named ???next???
264 | end_node->next = pool.get_handle( old_tos );
| ~~~~~~~~~~^~~~
../boost/lockfree/stack.hpp: In instantiation of ???bool boost::lockfree::stack<T, Options>::consume_one(Functor&&) [with Functor = boost::lockfree::stack<long int>::pop<long int>(long int&)::<lambda(long int&&)>; T = long int; Options = {}]???:
../boost/lockfree/stack.hpp:550:27: required from ???bool boost::lockfree::stack<T, Options>::pop(U&) [with U = long int; Enabler = std::enable_if<true, void>; T = long int; Options = {}]???
../boost/lockfree/stack.hpp:535:24: required from ???bool boost::lockfree::stack<T, Options>::pop(T&) [with T = long int; Options = {}]???
../libs/lockfree/test/test_common.hpp:81:25: required from ???bool impl::queue_stress_tester<Bounded>::consume_element(queue&) [with queue = boost::lockfree::stack<long int>; bool Bounded = false]???
../libs/lockfree/test/test_common.hpp:100:52: required from ???void impl::queue_stress_tester<Bounded>::get_items(queue&) [with queue = boost::lockfree::stack<long int>; bool Bounded = false]???
../libs/lockfree/test/test_common.hpp:129:26: required from ???void impl::queue_stress_tester<Bounded>::run(queue&) [with queue = boost::lockfree::stack<long int>; bool Bounded = false]???
../libs/lockfree/test/stack_unbounded_stress_test.cpp:25:16: required from here
../boost/lockfree/stack.hpp:649:58: error: ???struct boost::lockfree::stack<long int>::node??? has no member named ???next???
649 | tagged_node_handle new_tos( old_tos_pointer->next, old_tos.get_next_tag() );
| ~~~~~~~~~~~~~~~~~^~~~