Opened 8 years ago

Closed 8 years ago

#11081 closed Bugs (fixed)

Missing qualifier for exit call in boost/numeric/odeint/stepper/implicit_euler.hpp

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: karsten
Milestone: To Be Determined Component: odeint
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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%

Change History (1)

comment:1 by karsten, 8 years ago

Resolution: fixed
Status: newclosed

The fix is already in develop branch.

Note: See TracTickets for help on using tickets.