Skip to content

MSVC compiler.version is not allowed to contain . #8889

@tru

Description

@tru

We needed to keep track of subversions of MSVC, i.e. 16.8 vs 16.9. Why? because MSVC LTCG (LTO) is not compatible between minor versions. So if you compile a static library with LTCG in 16.8 you can't link it to with 16.9.

We thought this was a easy solution - just change compiler.version to 16.8 instead of 16. But there are several assumptions in the conan codebase about the value of this setting, here is one: https://github.com/conan-io/conan/blob/develop/conans/client/tools/win.py#L429

For now I am adding compiler.minorversion but maybe this should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions