File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
endif ()
16
16
17
17
if (MSVC )
18
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj" )
18
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj /W3 /WX " )
19
19
else ()
20
20
set (CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS} " )
21
21
option (WITH_WERROR "Compile with '-Werror' C++ compiler flag" ON )
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ void test_complex()
69
69
CHECK_EQ ( o_float, i_float );
70
70
CHECK_EQ ( o_double.real (), doctest::Approx (i_double.real ()).epsilon (1e-5 ) );
71
71
CHECK_EQ ( o_double.imag (), doctest::Approx (i_double.imag ()).epsilon (1e-5 ) );
72
- CHECK_EQ ( o_ldouble.real (), doctest::Approx (i_ldouble.real ()).epsilon (1e-5 ) );
73
- CHECK_EQ ( o_ldouble.imag (), doctest::Approx (i_ldouble.imag ()).epsilon (1e-5 ) );
72
+ CHECK_EQ ( o_ldouble.real (), doctest::Approx (i_ldouble.real ()).epsilon (1e-5L ) );
73
+ CHECK_EQ ( o_ldouble.imag (), doctest::Approx (i_ldouble.imag ()).epsilon (1e-5L ) );
74
74
}
75
75
}
76
76
You can’t perform that action at this time.
0 commit comments