Boost C++ Libraries: Ticket #12882: Boost.Log fails to build on Solaris 11.3 x86 using Developer Studio 12.5 https://svn.boost.org/trac10/ticket/12882 <p> I'm build Boost 1.63.0 on Solaris 11.3 x86 using Developer Studio 12.5. </p> <p> I use the following command to do the build: </p> <p> ./b2 link=shared runtime-link=shared address-model=64 threading=multi variant=release cxxflags="-std=c++14" linkflags="-std=c++14" </p> <p> The above build fails in Boost.Log with the error message: </p> <p> "libs/log/src/named_scope.cpp", line 118: Error: Overloading ambiguity between "boost::optional&lt;boost::log::v2_mt_posix::attributes::named_scope_list&gt;::operator=&lt;boost::log::v2_mt_posix::attributes::named_scope_list&amp;&gt;(boost::log::v2_mt_posix::attributes::named_scope_list&amp;)" and "boost::optional&lt;boost::log::v2_mt_posix::attributes::named_scope_list&gt;::operator=&lt;boost::log::v2_mt_posix::attributes::named_scope_list&amp;&gt;(boost::log::v2_mt_posix::attributes::named_scope_list&amp;)". </p> <p> 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. </p> <p> Can you let me know what I can do in order for the Boost build to successfully generate the Boost.Log library files. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12882 Trac 1.4.3 Andrey Semashev Thu, 02 Mar 2017 08:52:14 GMT owner, component changed; cc set https://svn.boost.org/trac10/ticket/12882#comment:1 https://svn.boost.org/trac10/ticket/12882#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">Andrey.Semashev@…</span> added </li> <li><strong>owner</strong> changed from <span class="trac-author">Andrey Semashev</span> to <span class="trac-author">akrzemi1</span> </li> <li><strong>component</strong> <span class="trac-field-old">log</span> → <span class="trac-field-new">optional</span> </li> </ul> <p> It's not clear which <code>operator=</code> the compiler complains about, but I see nothing wrong with Boost.Log code. Chances are high that this is a compiler bug. I'm reassigning to Boost.Optional so that its maintainer can see if that's indeed the case and whether it can be worked around. </p> Ticket