-
Notifications
You must be signed in to change notification settings - Fork 113
Description
[ 0%] Building CXX object test/system/CMakeFiles/st_async_pubsub_1.dir/st_async_pubsub_1.cpp.o
In file included from /home/admin/mqtt_cpp/include/mqtt/broker/broker.hpp:28,
from /home/admin/mqtt_cpp/test/system/combi_test.hpp:14,
from /home/admin/mqtt_cpp/test/system/st_async_pubsub_1.cpp:8:
/home/admin/mqtt_cpp/include/mqtt/broker/uuid.hpp: In function ‘std::cxx11::string mqtt::broker::create_uuid_string()’:
/home/admin/mqtt_cpp/include/mqtt/broker/uuid.hpp:22:60: error: use of deleted function ‘boost::uuids::random_generator_pure::random_generator_pure(boost::uuids::random_generator_pure&&)’
thread_local auto gen = boost::uuids::random_generator();
^
In file included from /usr/include/boost/uuid/uuid_generators.hpp:17,
from /home/admin/mqtt_cpp/include/mqtt/broker/uuid.hpp:13,
from /home/admin/mqtt_cpp/include/mqtt/broker/broker.hpp:28,
from /home/admin/mqtt_cpp/test/system/combi_test.hpp:14,
from /home/admin/mqtt_cpp/test/system/st_async_pubsub_1.cpp:8:
/usr/include/boost/uuid/random_generator.hpp:149:7: note: ‘boost::uuids::random_generator_pure::random_generator_pure(boost::uuids::random_generator_pure&&)’ is implicitly deleted because the default definition would be ill-formed:
class random_generator_pure
^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/uuid/random_generator.hpp:149:7: error: use of deleted function ‘boost::uuids::detail::random_provider::random_provider(boost::uuids::detail::random_provider&&)’
In file included from /usr/include/boost/uuid/random_generator.hpp:20,
from /usr/include/boost/uuid/uuid_generators.hpp:17,
from /home/admin/mqtt_cpp/include/mqtt/broker/uuid.hpp:13,
from /home/admin/mqtt_cpp/include/mqtt/broker/broker.hpp:28,
from /home/admin/mqtt_cpp/test/system/combi_test.hpp:14,
from /home/admin/mqtt_cpp/test/system/st_async_pubsub_1.cpp:8:
/usr/include/boost/uuid/detail/random_provider.hpp:41:7: note: ‘boost::uuids::detail::random_provider::random_provider(boost::uuids::detail::random_provider&&)’ is implicitly deleted because the default definition would be ill-formed:
class random_provider
^~~~~~~~~~~~~~~
/usr/include/boost/uuid/detail/random_provider.hpp:41:7: error: use of deleted function ‘boost::noncopyable::noncopyable::noncopyable(const boost::noncopyable::noncopyable&)’
In file included from /usr/include/boost/utility.hpp:22,
from /usr/include/boost/range/size.hpp:25,
from /usr/include/boost/range/functions.hpp:20,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/lexical_cast.hpp:30,
from /home/admin/mqtt_cpp/include/mqtt/broker/broker.hpp:14,
from /home/admin/mqtt_cpp/test/system/combi_test.hpp:14,
from /home/admin/mqtt_cpp/test/system/st_async_pubsub_1.cpp:8:
/usr/include/boost/core/noncopyable.hpp:34:7: note: declared here
noncopyable( const noncopyable& ) = delete;
^~~~~~~~~~~
virtual memory exhausted: Cannot allocate memory
make[2]: *** [test/system/CMakeFiles/st_async_pubsub_1.dir/build.make:63: test/system/CMakeFiles/st_async_pubsub_1.dir/st_async_pubsub_1.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:256: test/system/CMakeFiles/st_async_pubsub_1.dir/all] Error 2
make: *** [Makefile:141: all] Error 2