id summary reporter owner description type status milestone component version severity resolution keywords cc 11545 Sentry problem lcarreon@… Andrey Semashev "I compiled Boost 1.59.0 with Solaris Studio 12.4 in C++11 mode and I get the following error messages: ""./boost/log/utility/formatting_ostream.hpp"", line 627: Error: Cannot use boost::log::v2_mt_posix::basic_formatting_ostream, std::allocator>::sentry to initialize bool. It seems that the problem here is that the conversion operator of the sentry base class is not exposed by the derived class. The fix I found suggested defining the required conversion operator on the derived class. Add the following line in boost/log/utility/formatting_ostream.hpp: operator bool() { return base_type::operator bool(); } after the lines: BOOST_DELETED_FUNCTION(sentry(sentry const&)) BOOST_DELETED_FUNCTION(sentry& operator= (sentry const&)) " Bugs closed To Be Determined log Boost 1.59.0 Problem fixed sentry