Opened 8 years ago

Last modified 8 years ago

#10877 closed Bugs

Compiling Boost (1.56) on Solaris 11 — at Initial Version

Reported by: mfletcher0420 Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.56.0 Severity: Showstopper
Keywords: Solaris Cc:

Description

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 -I../getdartwork_install/tinyxml main.cpp -lboost_thread -lboost_system

Change History (0)

Note: See TracTickets for help on using tickets.