[Boost.Container] Problems in Solaris trying to use class flat_set
Assertion: (../lnk/v2mangler.cc, line 776) while processing boost/1_55_0/boost/container/detail/utilities.hpp at
Hi all,
Trying to compile the following program is problematic with the Solaris
compiler.
$ cat kk.cpp
#include
On 12/05/2016 10:19, dariomt@gmail.com wrote:
Hi all,
Trying to compile the following program is problematic with the Solaris compiler.
$ cat kk.cpp #include
Yes, it is just one line #include'ing flat_set.hpp
- with Boost 1.55.0 the compiler ICE's on me :(
$ CC -Iboost/1_55_0 -features=extensions -library=stlport4 kk.cpp
Assertion: (../lnk/v2mangler.cc, line 776) while processing boost/1_55_0/boost/container/detail/utilities.hpp at line 1036.
- and with Boost 1.59.0 I have a compile error: $ CC -Iboost/1_59_0 -features=extensions -library=stlport4 kk.cpp "boost/1_59_0/boost/container/throw_exception.hpp", line 112: Error: Cannot cast from const char* to std::out_of_range. "boost/1_59_0/boost/container/throw_exception.hpp", line 128: Error: Cannot cast from const char* to std::length_error. "boost/1_59_0/boost/container/throw_exception.hpp", line 145: Error: Cannot cast from const char* to std::logic_error. "boost/1_59_0/boost/container/throw_exception.hpp", line 161: Error: Cannot cast from const char* to std::runtime_error. "boost/1_59_0/boost/container/detail/copy_move_algo.hpp", line 997: Error: type is not a member of boost::move_detail::enable_if_c<0, void>. 5 Error(s) detected.
Compiler version: $ CC -V CC: Sun C++ 5.10 SunOS_i386 Patch 128229-32 2013/12/04
Any clues?
I think it's missing <string> include, that was added for the upcoming Boost 1.61. Best, Ion
participants (2)
-
dariomt@gmail.com
-
Ion Gaztañaga