Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
In file included from /opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/hw_rounding.hpp:15:0,
                 from /opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval.hpp:18,
                 from prog.cc:2:
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/rounded_arith.hpp: In instantiation of 'T boost::numeric::interval_lib::rounded_arith_std<T, Rounding>::int_down(const T&) [with T = double; Rounding = boost::numeric::interval_lib::rounding_control<double>]':
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/arith2.hpp:40:5:   required from 'boost::numeric::interval<T, Policies> boost::numeric::fmod(const boost::numeric::interval<T, Policies>&, const boost::numeric::interval<T, Policies>&) [with T = double; Policies = boost::numeric::interval_lib::policies<boost::numeric::interval_lib::detail::save_state_unprotected<boost::numeric::interval_lib::rounded_transc_std<double> >, boost::numeric::interval_lib::checking_base<double> >]'
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/transc.hpp:62:15:   required from 'boost::numeric::interval<T, Policies> boost::numeric::cos(const boost::numeric::interval<T, Policies>&) [with T = double; Policies = boost::numeric::interval_lib::policies<boost::numeric::interval_lib::detail::save_state_unprotected<boost::numeric::interval_lib::rounded_transc_std<double> >, boost::numeric::interval_lib::checking_base<double> >]'
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/transc.hpp:88:12:   required from 'boost::numeric::interval<T, Policies> boost::numeric::sin(const boost::numeric::interval<T, Policies>&) [with T = double; Policies = boost::numeric::interval_lib::policies<boost::numeric::interval_lib::save_state<boost::numeric::interval_lib::rounded_transc_std<double> >, boost::numeric::interval_lib::checking_base<double> >]'
prog.cc:17:20:   required from here
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/rounded_arith.hpp:71:59: error: 'to_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
   T int_down(const T& x) { this->downward(); return to_int(x); }
                                                     ~~~~~~^~~
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/rounded_arith.hpp:71:59: note: declarations in dependent base 'boost::numeric::interval_lib::detail::c99_rounding_control' are not found by unqualified lookup
/opt/wandbox/boost-1.57.0/gcc-7.1.0/include/boost/numeric/interval/rounded_arith.hpp:71:59: note: use 'this->to_int' instead
Exit Code:
1