Boost logo

Boost :

Subject: [boost] [utility] [config] value_init tests on msvc-14.0, 14.1
From: Peter Dimov (lists_at_[hidden])
Date: 2017-09-23 23:26:10


Currently, value_init_workaround_test.cpp fails on both msvc-14.0 and 14.1,
because in:

#ifdef BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED
  // One or more failures are expected.
  return num_failures > 0 ? EXIT_SUCCESS : EXIT_FAILURE;
#else
  // No failures are expected.
  return num_failures == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
#endif

failures are supposedly expected
(BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED is defined), but there are
none.

BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED is controlled by
BOOST_NO_COMPLETE_VALUE_INITIALIZATION, which is defined on 14.0/14.1.

The Config macro is defined because - presumably - msvc 14.0/14.1 fail the
Config test for value initialization, boost_no_com_value_init.ipp.

But this test is much more comprehensive than the value_init one. So to fix
the value_init_workaround_test.cpp failure, we need to at minimum move one
failing test case from the Config test to the value_init one.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk