skip to Main Content

How to silence internal boost deprecated messages – Debian

I'm porting my code from boost 1.67 to boost 1.74 (debian buster->bullseye). When I compile I get: In file included from /usr/include/boost/config/header_deprecated.hpp:18, from /usr/include/boost/detail/no_exceptions_support.hpp:15, from /usr/include/boost/msm/back/state_machine.hpp:20, from /home/stew/mycode.cpp:3: /usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma message: This header is deprecated. Use <boost/core/no_exceptions_support.hpp> instead.’ 17…

VIEW QUESTION

Why is my double buffer implementation 8x slower on Linux than Windows? – Debian

I've written this implementation of a double buffer: // ping_pong_buffer.hpp #include <vector> #include <mutex> #include <condition_variable> template <typename T> class ping_pong_buffer { public: using single_buffer_type = std::vector<T>; using pointer = typename single_buffer_type::pointer; using const_pointer = typename single_buffer_type::const_pointer; ping_pong_buffer(std::size_t size) :…

VIEW QUESTION
Back To Top
Search