Boost C++ Libraries: Ticket #10929: Missing std:: qualifier for sin calls in libs/numeric/odeint/test/numeric/rosenbrock.cpp https://svn.boost.org/trac10/ticket/10929 <p> Compiling rosenbrock.cpp with Oracle Solaris Studio12.4 on on Solaris 11.2 with -library=stlport4, we see the following error: </p> <p> "../libs/numeric/odeint/test/numeric/rosenbrock.cpp", line 76: Error: The function "sin" must have a prototype. "../libs/numeric/odeint/test/numeric/rosenbrock.cpp", line 84: Error: The function "sin" must have a prototype. </p> <p> The call to sin is unqualified. The following change resolves the issue. </p> <p> 76c76 &lt; const double f = 2.0 * std::abs( std::sin(dt) - x1(0) ) / std::pow( dt , o ); --- </p> <blockquote class="citation"> <blockquote> <p> const double f = 2.0 * std::abs( sin(dt) - x1(0) ) / std::pow( dt , o ); </p> </blockquote> </blockquote> <p> 84c84 &lt; BOOST_CHECK_SMALL( std::abs( std::sin(dt) - x1(0) ) , f*std::pow( dt , o ) ); --- </p> <blockquote class="citation"> <blockquote> <p> BOOST_CHECK_SMALL( std::abs( sin(dt) - x1(0) ) , f*std::pow( dt , o ) ); </p> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10929 Trac 1.4.3 mariomulansky Wed, 10 May 2017 04:16:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10929#comment:1 https://svn.boost.org/trac10/ticket/10929#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket