You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MSVC][std:c++latest] Boost\libs\utility run tests failed due to error C2666: 'comparible_UDT::operator ==': overloaded functions have similar conversions
#102
Open
Zhaojun-Liu opened this issue
Dec 7, 2022
· 1 comment
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, the error is due to the equality operator here
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, the error is due to the equality operator here
utility/test/call_traits_test.cpp
Line 204 in 3aa25c9
Note: this issue will be reproduced on next release version of VS (VS17.6 or later)
Repro steps:
set OPENSSL_ROOT=F:\tools\OpenSSL\64
set path=F:\tools\OpenSSL\64\bin;%path%
set path=C:\Python\Python27;%path%
Detailed log:
utility_test.log
The text was updated successfully, but these errors were encountered: