src/stream_outlet_impl.cpp:123:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘std::size_t’ {aka ‘unsigned int’} [-Wformat=]
123 | LOG_F(ERROR, "%s's io thread #%lu still running", name, k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
| |
| std::size_t {aka unsigned int}
src/portable_archive/portable_oarchive.hpp:137:16: error: ‘BOOST_ASSERT’ was not declared in this scope
137 | BOOST_ASSERT(t > 0 || std::is_signed<T>::value);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/portable_archive/portable_oarchive.hpp:137:16: note: the macro ‘BOOST_ASSERT’ had not yet been defined
In file included from lslboost/boost/smart_ptr/intrusive_ptr.hpp:20,
from src/forward.h:3,
from src/sample.h:4,
from src/sample.cpp:6:
lslboost/boost/assert.hpp:60: note: it was later defined here
60 | # define BOOST_ASSERT(expr) assert(expr)
|
In file incl
src/sample.cpp:359:12: error: ‘is_integral_v’ is not a member of ‘std’; did you mean ‘is_integral’?
359 | if (std::is_integral_v<T>) val %= static_cast<std::size_t>(std::numeric_limits<T>::max());
| ^~~~~~~~~~~~~
| is_integral