Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Boost failed when build with permissive- + MSVC on windows.

オープン
#68 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
compilers

調査の方向性

boost/range/concepts.hpp、特に 247-264 行目から始め、issue にある Windows/MSVC の bootstrap および b2 コマンドを使って報告されたエラーを再現してください。permissive- を有効にした場合と無効にした場合の動作を比較してください。報告されている未リリースの MSVC toolset で range モジュールが正常にビルドできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Boost failed with error C3646, C4430, C3861 when build with permissive- on Windows, I use latest source on master branch. Could you please help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.

You can repro this issue as the steps below:

  1. git clone -c core.autocrlf=true --recursive https://github.com/boostorg/boost.git D:\Boost\src
  2. Open a VS 2015 x86 command prompt and browse to D:\Boost\src
  3. .\bootstrap
  4. .\b2 headers variant=release --build-dir=..\out\Release --address-model=32
  5. .\b2 variant=release --build-dir=..\out\Release --address-model=32

Error info:
.\boost/range/concepts.hpp(257): error C3646: 'n': unknown override specifier
.\boost/range/concepts.hpp(264): note: see reference to class template instantiation 'boost::range_detail::RandomAccessIteratorConcept' being compiled
.\boost/range/concepts.hpp(257): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\boost/range/concepts.hpp(247): error C3861: 'n': identifier not found
.\boost/range/concepts.hpp(248): error C3861: 'n': identifier not found
.\boost/range/concepts.hpp(249): error C3861: 'n': identifier not found
.\boost/range/concepts.hpp(250): error C3861: 'n': identifier not found
.\boost/range/concepts.hpp(251): error C3861: 'n': identifier not found
.\boost/range/concepts.hpp(252): error C3861: 'n': identifier not found

主要言語
C++
スター
45
フォーク
104
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/range のほかの issue

boostorg/range の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。