test_multiple_inheritance.cpp
libs\serialization\test\test_multiple_inheritance.cpp(123): error C2666: 'Sub::operator ==': overloaded functions have similar conversions
libs\serialization\test\test_multiple_inheritance.cpp(76): note: could be 'bool Sub::operator ==(Sub &) const'
libs\serialization\test\test_multiple_inheritance.cpp(76): note: or 'bool Sub::operator ==(Sub &) const' [synthesized expression 'y == x']
libs\serialization\test\test_multiple_inheritance.cpp(123): note: while trying to match the argument list '(Sub, Sub)'
libs\serialization\test\test_multiple_inheritance.cpp(123): error C2660: 'boost::detail::test_impl': function does not take 4 arguments
.\boost/core/lightweight_test.hpp(100): note: see declaration of 'boost::detail::test_impl'
libs\serialization\test\test_multiple_inheritance.cpp(123): note: while trying to match the argument list '(const char [13], const char [54], int, const char [36])'
Note: this issue will be reproduced on next release version of VS (VS17.6 or later)
set CL=/D_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING /D_HAS_DEPRECATED_ADAPTOR_TYPEDEFS=1 /D_HAS_AUTO_PTR_ETC=1 /D_HAS_DEPRECATED_RAW_STORAGE_ITERATOR=1 /D_HAS_DEPRECATED_TEMPORARY_BUFFER=1 /D_HAS_DEPRECATED_NEGATORS=1 /Zc:enumTypes %CL%
set related reference path (in my environment like below):
set OPENSSL_ROOT=F:\tools\OpenSSL\64
set path=F:\tools\OpenSSL\64\bin;%path%
set path=C:\Python\Python27;%path%
Description: After the MSVC team implented P2468R2 The Equality Operator You Are Looking For, we got a compiler error with /std:c++latest like below, these errors are due to that the operator== here https://github.com/boostorg/serialization/blob/0ca603daf99888bf059c01ae1bab1b27dbc35ebe/test/test_multiple_inheritance.cpp#L34 and here https://github.com/boostorg/serialization/blob/0ca603daf99888bf059c01ae1bab1b27dbc35ebe/test/test_multiple_inheritance.cpp#L52 and here https://github.com/boostorg/serialization/blob/0ca603daf99888bf059c01ae1bab1b27dbc35ebe/test/test_multiple_inheritance.cpp#L76 need to take the first parameter by 'const&'. Could you please look this issue? Thanks.
Note: this issue will be reproduced on next release version of VS (VS17.6 or later)
Repro steps:
Detailed log: serialization_test.log