Opened 5 years ago

#13013 new Bugs

Boost upgradeable lock - simple swap include error.

Reported by: sprague.a.rick@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc: sprague.a.rick@…

Description

This worked fine in 1.55 (Ubuntu 14), but 1.62 in Ubuntu 17 has issues:

Ubuntu 17 (libboost-dev-all 1.62.0.1)

/usr/include/boost/interprocess/sync/upgradable_lock.hpp:297:8: error: ‘simple_swap’ was not declared in this scope

(simple_swap)(mp_mutex, other.mp_mutex);

Seems to be missing header: #include <boost/interprocess/detail/simple_swap.hpp>

Change History (0)

Note: See TracTickets for help on using tickets.