Visual Studio 2013 can't compile release 3.2.1 with Boost 1.58

Issue #240 resolved
Chris Beall created an issue

Reported by a user: Have to add

add_definitions(-DBOOST_OPTIONAL_CONFIG_ALLOW_BINDING_TO_RVALUES)

We already have a similar fix here : d623f80, but this new problem appears Windows specific, as I didn't run into this on Mac OS.

Boost 1.58 release notes:

Added a way to manually disable move semantics: just define macro BOOST_OPTIONAL_CONFIG_NO_RVALUE_REFERENCES. This can be used to work around #10399.

Comments (1)

  1. Log in to comment