[PATCH] D92515: Bump MSVC required version to 19.14

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 13:22:15 PDT 2021


aganea added a comment.

In D92515#2774555 <https://reviews.llvm.org/D92515#2774555>, @Temtaime wrote:

> This change makes it impossible to build clang 12 with clang 11.
>
>> Host Clang must have at least -fms-compatibility-version=19.14, your  version is 19.11.

I think that the problem is that you're trying to build from a regular cmd.exe? The code here: https://github.com/llvm/llvm-project/blob/d480f968ad8b56d3ee4a6b6df5532d485b0ad01e/clang/lib/Driver/ToolChains/MSVC.cpp#L1341 is unable to detect your version of MSVC in the PATH, so it just puts version 19.11 arbitrarily.

What value is your `%VCToolsVersion%` or `%VSCMD_VER%` ?

Can you try running from a "x64 Native Tools Command Prompt for VS 2019" shell?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92515/new/

https://reviews.llvm.org/D92515



More information about the llvm-commits mailing list