root@damian:/home/ubuntu/TFS-1.5-Downgrades-8.60/build# make
[ 1%] Building CXX object CMakeFiles/tfs.dir/src/outputmessage.cpp.o
In file included from /usr/include/c++/14/ext/alloc_traits.h:34,
from /usr/include/c++/14/bits/forward_list.h:41,
from /usr/include/c++/14/forward_list:40,
from /home/ubuntu/TFS-1.5-Downgrades-8.60/src/otpch.h:28,
from /home/ubuntu/TFS-1.5-Downgrades-8.60/build/CMakeFiles/tfs.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/c++/14/bits/alloc_traits.h: In instantiation of ‘struct std::__allocator_traits_base::__rebind<LockfreePoolingAllocator<void, 2048>, std::_Sp_counted_ptr_inplace<OutputMessage, LockfreePoolingAllocator<void, 2048>, __gnu_cxx::_S_atomic>, void>’:
/usr/include/c++/14/bits/alloc_traits.h:95:11: required by substitution of ‘template<class _Alloc, class _Up> using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = LockfreePoolingAllocator<void, 2048>; _Up = std::_Sp_counted_ptr_inplace<OutputMessage, LockfreePoolingAllocator<void, 2048>, __gnu_cxx::_S_atomic>]’
95 | using __alloc_rebind
| ^~~~~~~~~~~~~~
/usr/include/c++/14/bits/shared_ptr_base.h:598:13: required from ‘class std::_Sp_counted_ptr_inplace<OutputMessage, LockfreePoolingAllocator<void, 2048>, __gnu_cxx::_S_atomic>’
598 | using __allocator_type = __alloc_rebind<_Alloc, _Sp_counted_ptr_inplace>;
| ^~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/shared_ptr_base.h:966:43: required from ‘std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = OutputMessage; _Alloc = LockfreePoolingAllocator<void, 2048>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
966 | typename _Sp_cp_type::__allocator_type __a2(__a._M_a);
| ^~~~
/usr/include/c++/14/bits/shared_ptr_base.h:1713:14: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = LockfreePoolingAllocator<void, 2048>; _Args = {}; _Tp = OutputMessage; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
1713 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/shared_ptr.h:463:59: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = LockfreePoolingAllocator<void, 2048>; _Args = {}; _Tp = OutputMessage]’
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/include/c++/14/bits/shared_ptr.h:990:14: required from ‘std::shared_ptr<typename std::enable_if<(! std::is_array<_Tp>::value), _Tp>::type> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = OutputMessage; _Alloc = LockfreePoolingAllocator<void, 2048>; _Args = {}; typename enable_if<(! is_array<_Tp>::value), _Tp>::type = OutputMessage]’
990 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
991 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/TFS-1.5-Downgrades-8.60/src/outputmessage.cpp:81:44: required from here
81 | return std::allocate_shared<OutputMessage>(LockfreePoolingAllocator<void, OUTPUTMESSAGE_FREE_LIST_CAPACITY>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/alloc_traits.h:71:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
71 | _Tp>::value,
| ^~~~~
/usr/include/c++/14/bits/alloc_traits.h:71:31: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
make[2]: *** [CMakeFiles/tfs.dir/build.make:784: CMakeFiles/tfs.dir/src/outputmessage.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:91: all] Error 2