Boost C++ Libraries: Ticket #10928: Missing std:: qualifier for floor in libs/numeric/odeint/test/integrate_implicit.cpp https://svn.boost.org/trac10/ticket/10928 <p> Compiling integrate_implicit.cpp with Oracle Solaris Studio12.4 on on Solaris 11.2 with -library=stlport4, we see the following error: "../libs/numeric/odeint/test/integrate_implicit.cpp", line 109: Error: The function "floor" must have a prototype. </p> <p> The call to floor is missing the std:: qualifier. The following change fixes this error. </p> <blockquote> <p> diff ./integrate_implicit.cpp ./integrate_implicit.cpp_orig </p> </blockquote> <p> 109c109 &lt; BOOST_CHECK_EQUAL( static_cast&lt;int&gt;(times.size()) , static_cast&lt;int&gt;(std::floor(t_end/dt))+1 ); --- </p> <blockquote class="citation"> <blockquote> <p> BOOST_CHECK_EQUAL( static_cast&lt;int&gt;(times.size()) , static_cast&lt;int&gt;(floor(t_end/dt))+1 ); </p> </blockquote> </blockquote> <p> % </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10928 Trac 1.4.3 mariomulansky Wed, 10 May 2017 04:15:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10928#comment:1 https://svn.boost.org/trac10/ticket/10928#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