Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:USCiLab/cereal into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AzothAmmo committed Feb 7, 2017
2 parents b827b95 + f577fc4 commit ee17db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else()
endif()

if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj /W3 /WX")
else()
set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS}")
option(WITH_WERROR "Compile with '-Werror' C++ compiler flag" ON)
Expand Down
4 changes: 2 additions & 2 deletions unittests/complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ void test_complex()
CHECK_EQ( o_float, i_float );
CHECK_EQ( o_double.real(), doctest::Approx(i_double.real()).epsilon(1e-5) );
CHECK_EQ( o_double.imag(), doctest::Approx(i_double.imag()).epsilon(1e-5) );
CHECK_EQ( o_ldouble.real(), doctest::Approx(i_ldouble.real()).epsilon(1e-5) );
CHECK_EQ( o_ldouble.imag(), doctest::Approx(i_ldouble.imag()).epsilon(1e-5) );
CHECK_EQ( o_ldouble.real(), doctest::Approx(i_ldouble.real()).epsilon(1e-5L) );
CHECK_EQ( o_ldouble.imag(), doctest::Approx(i_ldouble.imag()).epsilon(1e-5L) );
}
}

Expand Down

0 comments on commit ee17db5

Please sign in to comment.