Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10877: Compiling Boost (1.56) on Solaris 11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-16 17:35:51
#10877: Compiling Boost (1.56) on Solaris 11
-------------------------------+----------------------------
Reporter: mfletcher0420 | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.56.0 | Severity: Showstopper
Resolution: | Keywords: Solaris
-------------------------------+----------------------------
Comment (by mfletcher0420):
I am trying to compile a program using the Boost 1.56 libraries. I am
getting the following errors when using the Solaris C++ compiler:
"../boost_1_56_0/boost/predef/library/std/roguewave.h", line 47: Error:
Badly formed constant expression.
"../boost_1_56_0/boost/mpl/aux_/integral_wrapper.hpp", line 45: Error: An
integer constant expression is required here.
"../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp", line 38: Where: While
specializing "mpl_::integral_c<long long,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::num>".
"../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp", line 38: Where:
Specialized in boost::mpl::abs_tag<mpl_::integral_c<long long,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::num>>.
"../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp", line 47: Where:
Specialized in boost::mpl::abs<mpl_::integral_c<long long,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::num>>.
"../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp", line 60: Where:
Specialized in boost::mpl::abs_c<long long,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::num>.
"../boost_1_56_0/boost/ratio/ratio.hpp", line 79: Where: Specialized in
boost::ratio<boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::num,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::den>.
"../boost_1_56_0/boost/ratio/ratio.hpp", line 204: Where: Specialized in
boost::ratio_gcd<boost::R1, boost::R2>.
"../boost_1_56_0/boost/chrono/duration.hpp", line 406: Where: Specialized
in boost::common_type<long long, boost::ratio<1, 1000000000>, long long,
boost::ratio<1, 1>>. "../boost_1_56_0/boost/thread/pthread/timespec.hpp",
line 52: Where: Specialized in non-template code. Error: Cannot continue
processing because of prior errors.
"../boost_1_56_0/boost/ratio/ratio.hpp", line 204: Where: While
specializing "boost::ratio<boost::ratio<boost::mpl::gcd_c<long long, num,
num>::value, boost::mpl::lcm_c<long long, den, den>::value>::num,
boost::ratio<boost::mpl::gcd_c<long long, num, num>::value,
boost::mpl::lcm_c<long long, den, den>::value>::den>".
"../boost_1_56_0/boost/ratio/ratio.hpp", line 204: Where: Specialized in
boost::ratio_gcd<boost::R1, boost::R2>.
"../boost_1_56_0/boost/chrono/duration.hpp", line 406: Where: Specialized
in boost::common_type<long long, boost::ratio<1, 1000000000>, long long,
boost::ratio<1, 1>>. "../boost_1_56_0/boost/thread/pthread/timespec.hpp",
line 52: Where: Specialized in non-template code.
The compiler options are as follows: CC -c -m64 -g -erroff=%all -mt
-Qoption ccfe -complextmplexp -o tcloader -I../boost_1_56_0 main.cpp
-lboost_thread -lboost_system
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10877#comment:1> 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-02-16 18:50:17 UTC