r/cpp • cmake dev • Jun 01 '26

BMI Compatibility: Testing Build System C++ Modules Support

https://blog.vito.nyc/posts/bmi-compatibility/
68 Upvotes

43 comments sorted by

View all comments

Show parent comment

0

u/Agitated-Elk5768 Jun 02 '26

MSVC does not generate a compatibility version within the same project for compatibility purposes. If two incompatible variants are mixed in the same project, it may fail, or it may only emit a warning.

3

u/not_a_novel_account cmake dev Jun 02 '26 edited Jun 02 '26

The question here (or rather, the thing I didn't test) is if Bazel invokes the MSVC compiler correctly, cl.exe. Not about Visual Studio or its use of MSVC.