-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
Operating System
Windows 11
Windows SDK 10.0.26100.0
Describe the issue
The MSVC team regularly builds popular open-source projects, including yours, with development versions of the build tools in order to find and fix regressions in the compiler and libraries before they can ship and cause trouble for the world. This also allows us to provide advance notice of breaking changes, which is the case here.
fiber failed to build due to error C2039 with /std:c++latest option on Windows. Could you please help to take a look at this? Thanks in advance!
Steps to reproduce
- Open VS2022 x64 CMD.
- git clone --recurse https://github.com/boostorg/boost.git C:\gitP\boostorg\boost
- cd /d C:\gitP\boostorg\boost
set _CL_=/std:c++latest- .\bootstrap
- .\b2 headers variant=release --build-dir=C:\gitP\boostorg\boost\amd64 address-model=64 architecture=x86
- .\b2 variant=release --build-dir=C:\gitP\boostorg\boost\amd64 address-model=64 architecture=x86
- .\b2 -j16 variant=release --build-dir=C:\gitP\boostorg\boost\amd64 libs\fiber\test address-model=64
Test.log:
Error info:
.\boost/atomic/detail/wait_ops_windows.hpp(66): error C2039: 'WaitOnAddress': is not a member of 'boost::winapi'
.\boost/winapi/wait_constants.hpp(19): note: see declaration of 'boost::winapi'
.\boost/atomic/detail/wait_ops_windows.hpp(66): note: the template instantiation context (the oldest one first) is
.\boost/atomic/detail/wait_ops_windows.hpp(48): note: while compiling class template 'boost::atomics::detail::wait_operations_windows'
.\boost/atomic/detail/wait_ops_windows.hpp(95): error C2039: 'WaitOnAddress': is not a member of 'boost::winapi'
.\boost/winapi/wait_constants.hpp(19): note: see declaration of 'boost::winapi'
.\boost/atomic/detail/wait_ops_windows.hpp(75): note: This diagnostic occurred in the compiler generated function 'wait_operations_windows<Base,Size>::base_type::storage_type boost::atomics::detail::wait_operations_windows<Base,Size>::wait_until_impl(volatile const wait_operations_windows<Base,Size>::base_type::storage_type &,wait_operations_windows<Base,Size>::base_type::storage_type,Clock::time_point,Clock::time_point,boost::memory_order,bool &) noexcept(<expr>)'
.\boost/atomic/detail/wait_ops_windows.hpp(141): error C2039: 'WakeByAddressSingle': is not a member of 'boost::winapi'
.\boost/winapi/wait_constants.hpp(19): note: see declaration of 'boost::winapi'
.\boost/atomic/detail/wait_ops_windows.hpp(146): error C2039: 'WakeByAddressAll': is not a member of 'boost::winapi'
.\boost/winapi/wait_constants.hpp(19): note: see declaration of 'boost::winapi'
.\boost/bind.hpp(41): note: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
Metadata
Metadata
Assignees
Labels
No labels