mirror of
https://github.com/boostorg/odeint.git
synced 2025-05-09 23:24:01 +00:00
Fix abs
warnings and clang compiler warning flag
This commit is contained in:
parent
dd54cbf031
commit
a452f6e816
2
Jamroot
2
Jamroot
@ -15,7 +15,7 @@ project
|
||||
: requirements
|
||||
<include>include&&$(BOOST_ROOT)
|
||||
<toolset>gcc:<cxxflags>"-Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-local-typedefs"
|
||||
<toolset>clang:<cxxflags>"-Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs"
|
||||
<toolset>clang:<cxxflags>"-Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedef"
|
||||
<toolset>intel:<cxxflags>"-ipo"
|
||||
;
|
||||
|
||||
|
@ -88,6 +88,7 @@ struct perform_stepper_test
|
||||
typedef T vector_space_type;
|
||||
void operator()( void ) const
|
||||
{
|
||||
using std::abs;
|
||||
vector_space_type x;
|
||||
x = 2.0;
|
||||
Stepper stepper;
|
||||
|
@ -87,6 +87,7 @@ struct perform_controlled_stepper_test
|
||||
typedef T vector_space_type;
|
||||
void operator()( void ) const
|
||||
{
|
||||
using std::abs;
|
||||
vector_space_type x;
|
||||
x = 2.0;
|
||||
ControlledStepper controlled_stepper;
|
||||
@ -134,6 +135,7 @@ struct perform_controlled_stepper_test< ControlledStepper , vector_space_type >
|
||||
{
|
||||
void operator()( void ) const
|
||||
{
|
||||
using std::abs;
|
||||
vector_space_type x;
|
||||
x = 2.0;
|
||||
ControlledStepper controlled_stepper;
|
||||
|
Loading…
x
Reference in New Issue
Block a user