id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10877,Compiling Boost (1.56) on Solaris 11,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::value, boost::mpl::lcm_c::value>::num>"". ""../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp"", line 38: Where: Specialized in boost::mpl::abs_tag::value, boost::mpl::lcm_c::value>::num>>. ""../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp"", line 47: Where: Specialized in boost::mpl::abs::value, boost::mpl::lcm_c::value>::num>>. ""../boost_1_56_0/boost/ratio/detail/mpl/abs.hpp"", line 60: Where: Specialized in boost::mpl::abs_c::value, boost::mpl::lcm_c::value>::num>. ""../boost_1_56_0/boost/ratio/ratio.hpp"", line 79: Where: Specialized in boost::ratio::value, boost::mpl::lcm_c::value>::num, boost::ratio::value, boost::mpl::lcm_c::value>::den>. ""../boost_1_56_0/boost/ratio/ratio.hpp"", line 204: Where: Specialized in boost::ratio_gcd. ""../boost_1_56_0/boost/chrono/duration.hpp"", line 406: Where: Specialized in boost::common_type, 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::value, boost::mpl::lcm_c::value>::num, boost::ratio::value, boost::mpl::lcm_c::value>::den>"". ""../boost_1_56_0/boost/ratio/ratio.hpp"", line 204: Where: Specialized in boost::ratio_gcd. ""../boost_1_56_0/boost/chrono/duration.hpp"", line 406: Where: Specialized in boost::common_type, 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 }}} ",Bugs,closed,To Be Determined,Building Boost,Boost 1.56.0,Showstopper,invalid,Solaris,