[Boost-bugs] [Boost C++ Libraries] #11081: Missing qualifier for exit call in boost/numeric/odeint/stepper/implicit_euler.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11081: Missing qualifier for exit call in boost/numeric/odeint/stepper/implicit_euler.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-06 19:44:01


#11081: Missing qualifier for exit call in
boost/numeric/odeint/stepper/implicit_euler.hpp
-------------------------------------------+---------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: karsten
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: odeint
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 Compiling libs/numeric/odeint/test/implicit_euler.cpp with Oracle Solaris
 Studio 12.4 on Solaris 11.2, I see the following error:

 "../boost/numeric/odeint/stepper/implicit_euler.hpp", line 147: Error: The
 function "exit" must have a prototype.

 The call to exit needs to be qualified with std::

 The following change resolves the issue.

 % diff ./implicit_euler.hpp implicit_euler.hpp_orig
 147c147
 < if( res != 0 ) std::exit(0);
 ---
> if( res != 0 ) exit(0);
 calypso-sparc30%

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11081>
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:18 UTC