Opened 7 years ago

Last modified 7 years ago

#12034 new Bugs

missing qualifier for sprintf in numeric/odeint/integrate/max_step_checker.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/stepper_with_units.cpp and several other tests with Oracle Solaris Studio 12.5 we see the following error:

"../boost/numeric/odeint/integrate/max_step_checker.hpp", line 72: Error: The function "sprintf" must have a prototype. "../boost/numeric/odeint/integrate/max_step_checker.hpp", line 104: Error: The function "sprintf" must have a prototype.

sprintf needs to be qualified with std::

Change History (1)

comment:1 by Aparna Kumta <aparna.kumta@…>, 7 years ago

Note: See TracTickets for help on using tickets.