On 1/30/2014 3:14 AM, Antony Polukhin wrote:
2014-01-30 Edward Diener
On 1/30/2014 12:24 AM, Antony Polukhin wrote:
Hi,
Some of the tests for Boost.LexicalCast fail on any MSVC compiler. Unfortunately currently I have no access to Windows.
Could someone please investigate the failures and tell me were to search the bug?
From where are the lexical_cast tests run in modular-boost ?
boost/libs/conversion/test/
I assume this is in the develop branch tests. Running the tests on my
machine, with msvc-12.0 I see two failures.
First is:
lexical_cast_loopback_test.cpp(55): error in
"test_round_conversion_double": check min_ == lexical_cast<T>(min_s) failed
lexical_cast_loopback_test.cpp(55): error in
"test_round_conversion_long_double": check min_ ==
lexical_cast<T>(min_s) failed
This looks like the roundtrip conversion with double and long double is
not accurate enough.
Second is:
lexical_cast_containers_test.cpp
C:\Programming\VersionControl\modular-boost\boost/intrusive/detail/has_member_function_callable_with.hpp(200)
: error C2228: left of '.select_on_container_copy_construction' must
have class/struct/union
type is 'boost::move_detail::add_rvalue_reference<U>::type'
C:\Programming\VersionControl\modular-boost\boost/intrusive/detail/has_member_function_callable_with.hpp(276)
: see reference to class template instantiation
'boost::container::container_detail::has_member_function_callable_with_select_on_container_copy_construction_impl