Visual Studio 2015 中的编译器是什么

谁能告诉我 Visual Studio 2015 为 C++ 项目内置了什么编译器?我尝试过并尝试过旧版本的编译器,它给了我其他编译结果.它是 GNU C++ 4.8.2 版还是更新的版本?

Can anyone tell me what compiler is built-in to Visual Studio 2015 for C++ projects? I tried it and tried older version compilers and it's giving me other compiling results. Is it GNU C++ version 4.8.2 or a newer version?

推荐答案

他们有自己的编译器,使用 Visual C++ _____

They have their own compiler that goes by Visual C++ _____

这是 IDE 版本的映射到编译器版本.他们通常会随每个主要的 IDE 版本发布一个主要的编译器版本.

Here is a mapping of the IDE version to the compiler version. They generally release a major compiler version with each major IDE version.

Visual Studio 2005 - Visual C++ 8.0
Visual Studio 2008 - Visual C++ 9.0
Visual Studio 2010 - Visual C++ 10.0
Visual Studio 2012 - Visual C++ 11.0
Visual Studio 2013 - Visual C++ 12.0
Visual Studio 2015 - Visual C++ 14.0
Visual Studio 2017 - Visual C++ 14.1
Visual Studio 2019 - Visual C++ 14.2

Visual Studio 2005 - Visual C++ 8.0
Visual Studio 2008 - Visual C++ 9.0
Visual Studio 2010 - Visual C++ 10.0
Visual Studio 2012 - Visual C++ 11.0
Visual Studio 2013 - Visual C++ 12.0
Visual Studio 2015 - Visual C++ 14.0
Visual Studio 2017 - Visual C++ 14.1
Visual Studio 2019 - Visual C++ 14.2

为了明确回答您的问题,Visual Studio 2015 使用编译器 Visual C++ 14.0

So to explicitly answer your question, Visual Studio 2015 uses the compiler Visual C++ 14.0

相关文章