Boost logo

Boost Users :

Subject: [Boost-users] [Log][Optional][Python] Problem building Boost 1.64.0 with Oracle Developer Studio 12.6
From: Leo Carreon (lcarreon_at_[hidden])
Date: 2017-08-15 02:03:16


Hi,

This is a resend with the suggested change on the subject line.

I have been trying to build Boost 1.64.0 with Oracle Developer Studio 12.6 on Oracle Solaris 11.3 x86_64 in C++14 mode.

There are three errors encountered during the build. They are:

1. Problem with Boost.Log with this error message:
>> Assertion: (../lnk/initializer.cc, line 1865)
while processing ./boost/log/expressions/message.hpp at line 98.
My comment: Acknowledged by Oracle as a compiler issue.

2. Problem with Boost.Optional with this error messages:
"libs/log/src/named_scope.cpp", line 118: Error: Use of overloaded binary operator '=' is ambiguous.
"./boost/optional/optional.hpp", line 900: Note: Viable candidate 'boost::optional<boost::log::v2_mt_posix::attributes::named_scope_list>& 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&)'.
"./boost/optional/optional.hpp", line 962: Note: Viable candidate 'boost::optional<boost::log::v2_mt_posix::attributes::named_scope_list>& 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&)'.
My comment: Ambiguous boost::optional<>::operator=(), possibly a Boost configuration issue or compiler SFINAE issue. I’m not that fluent with SFINAE to be able to figure this out.

3. Problem with Boost.Python with this error message:
"libs/python/src/numpy/dtype.cpp", line 61: Error: NPY_FLOAT16 is not defined.
My comment: Possibly a Solaris package installation issue due to no support contract. (numpy package fails to install)

I would appreciate it very much if someone could give me some pointers on how to resolve the above issues.

Kind regards,
Leo



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net