Boost\libs\fiber\test failed to build due to error C2039 with /std:c++latest option on Windows
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
調査の方向性
/std:c++latest を使用し、issue にあるコマンドで Windows ビルドを再現することから始めます。boost/atomic/detail/wait_ops_windows.hpp と boost/winapi/wait_constants.hpp を併せて読み、WaitOnAddress、WakeByAddressSingle、WakeByAddressAll が利用できない理由を追跡します。報告されている構成で libs/fiber/test ターゲットのビルドが正常に成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C++
- スター
- 512
- フォーク
- 123
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
boostorg/fiber のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SCIInstitute/SCIRun#2842 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
agent:Windows bug code-review LOW testing
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted language:fr translation
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
mrvi0/cli-cheatsheet#160 ·