[Boost-bugs] [Boost C++ Libraries] #10928: Missing std:: qualifier for floor in libs/numeric/odeint/test/integrate_implicit.cpp

Subject: [Boost-bugs] [Boost C++ Libraries] #10928: Missing std:: qualifier for floor in libs/numeric/odeint/test/integrate_implicit.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-14 01:40:51


#10928: Missing std:: qualifier for floor in
libs/numeric/odeint/test/integrate_implicit.cpp
-------------------------------------------+---------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: numeric
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 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.

 The call to floor is missing the std:: qualifier.
 The following change fixes this error.

  diff ./integrate_implicit.cpp ./integrate_implicit.cpp_orig
 109c109
 < BOOST_CHECK_EQUAL( static_cast<int>(times.size()) ,
 static_cast<int>(std::floor(t_end/dt))+1 );
 ---
> BOOST_CHECK_EQUAL( static_cast<int>(times.size()) ,
 static_cast<int>(floor(t_end/dt))+1 );
 %

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10928>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC