Visual Studio version is not equal to the version of the C++ toolchain. Probably hasn't been since VC6.

Confusing as hell, but the way it is.

Regards,
Nate

On Mon, Apr 9, 2018, 8:01 PM Chris Stankevitz via Boost-users <boost-users@lists.boost.org> wrote:
On Sun, Apr 8, 2018 at 5:45 AM, degski via Boost-users
<boost-users@lists.boost.org> wrote:
>> What version should I pass to b2 --toolset=msvc-x.y for "Visual Studio
>> 2017 15.6.3"?
>
> so I guess 15.6 should do here

degski,

This is incorrect.  The version passed to the "toolset" when using
"Visual Studio 2017 15.6.3" is 14.1.

Here is the procedure I used to figure it out:

1. Read [1] which said to look at [2]
2. Read [2] but it is not up-to-date
3. Go to Costco and buy a new computer.  Install only one compiler on
it: "Visual Studio 2017 15.6.3"
4. Compile boost using b2 but do not specify a toolset
5. Look at which toolset was used: "msvc-14.1".  Don't ask me now MSVC
15.6.3 has a toolkit version of 14.1.

Please feel free to update [2] with these instructions.

Chris


[1] https://www.boost.org/doc/libs/1_65_1/more/getting_started/windows.html#identify-your-toolset

[2] https://www.boost.org/build/doc/html/bbv2/reference/tools.html
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users