Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem building Boost 1.64.0 with Oracle Developer Studio 12.6
From: Leo Carreon (lcarreon_at_[hidden])
Date: 2017-08-12 20:00:24

BTW, I forgot to mention a third issue which has been acknowledged by Oracle as a problem with the compiler:

3. Problem with Boost.Log with this error message:
>> Assertion: (../lnk/, line 1865)
while processing ./boost/log/expressions/message.hpp at line 98.

From: Leo Carreon
Sent: Wednesday, August 9, 2017 10:52 AM
To: Boost Users Mailing List
Subject: Problem building Boost 1.64.0 with Oracle Developer Studio 12.6

Hi Boosters,

I have been trying to build Boost 1.64.0 with Oracle Developer Studio 12.6 on Oracle Solaris 11.3 x86_64.

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

1. 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&)'.

2. Problem with Boost.Python with this error message:
"libs/python/src/numpy/dtype.cpp", line 61: Error: NPY_FLOAT16 is not defined.

Note that these two errors are the cause of 9 Boost shared libraries to not be generated.

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

Kind regards,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at