Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#68 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
compilers

Research direction

Start with boost/range/concepts.hpp, especially lines 247-264, and reproduce the reported errors using the Windows/MSVC bootstrap and b2 commands in the issue. Compare the behavior with permissive- enabled and disabled; done means the range module builds successfully with the reported unreleased MSVC toolset.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
45
Forks
104
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/range

All issues in boostorg/range

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.