Missing has_first_bit method
Closed this issue · 2 comments
jorisgeer commented
When compiling on linux-64, a 'has_first_bit method is missing on a mask_type
cd micromalloc
cmake .
make
[ 1%] Building CXX object CMakeFiles/micro.dir/micro/internal/allocator.cpp.o
In file included from /home/joris/src/micromalloc-main/micro/internal/allocator.cpp:35:
/home/joris/src/micromalloc-main/micro/internal/allocator.hpp: In member function ‘bool micro::detail::RadixTree::has_small_free_chunks() const’:
/home/joris/src/micromalloc-main/micro/internal/allocator.hpp:500:100: error: ‘const micro::detail::RadixTree::mask_type’ {aka ‘const struct micro::detail::UIntN_32bits<4>’} has no member named ‘has_first_bit’
500 | ALLOCATOR_INLINE bool has_small_free_chunks() const noexcept { return mask.has_first_bit(); }
| ^~~~~~~~~~~~~
Thermadiag commented
Hi,
Sorry for the last answer, this should be corrected now.
However it seems that you are compiling in 32 bits..
Bests
Thermadiag commented
Corrected