Ask questionsMSVC compiler.version is not allowed to contain `.`

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:

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


Answer questions tru

No I was not aware of that - we are a bit behind on our conan versions. But that sounds good.

Github User Rank List