[Boost-bugs] [Boost C++ Libraries] #12882: Boost.Log fails to build on Solaris 11.3 x86 using Developer Studio 12.5

Subject: [Boost-bugs] [Boost C++ Libraries] #12882: Boost.Log fails to build on Solaris 11.3 x86 using Developer Studio 12.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-02 06:47:03


#12882: Boost.Log fails to build on Solaris 11.3 x86 using Developer Studio 12.5
------------------------------+-------------------------
 Reporter: lcarreon@… | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.63.0 | Severity: Showstopper
 Keywords: |
------------------------------+-------------------------
 I'm build Boost 1.63.0 on Solaris 11.3 x86 using Developer Studio 12.5.

 I use the following command to do the build:

 ./b2 link=shared runtime-link=shared address-model=64 threading=multi
 variant=release cxxflags="-std=c++14" linkflags="-std=c++14"

 The above build fails in Boost.Log with the error message:

 "libs/log/src/named_scope.cpp", line 118: Error: Overloading ambiguity
 between
 "boost::optional<boost::log::v2_mt_posix::attributes::named_scope_list>::operator=<boost::log::v2_mt_posix::attributes::named_scope_list&>(boost::log::v2_mt_posix::attributes::named_scope_list&)"
 and
 "boost::optional<boost::log::v2_mt_posix::attributes::named_scope_list>::operator=<boost::log::v2_mt_posix::attributes::named_scope_list&>(boost::log::v2_mt_posix::attributes::named_scope_list&)".

 I have looked at the file where the error is occurring but due to my
 unfamiliarity with this area of Boost, I couldn't figure out what the
 problem is.
 However, it is possible that the problem could have something to do with
 Boost.Optional.

 Can you let me know what I can do in order for the Boost build to
 successfully generate the Boost.Log library files.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12882>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-03-02 06:51:15 UTC