元类和铿锵工具链 [英] Metaclasses and clang toolchain

查看:93
本文介绍了元类和铿锵工具链的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Visual Studio 2019 Preview;它不使用clang,最大工具集来自VS2017。

I have installed Visual Studio 2019 Preview; it not using clang, maximal toolset is from VS2017.

我想尝试mataclasses,并且是与元类的实验性铿锵声。是否可以将我编译的clang作为工具集?

I want try mataclasses, and is experimental clang with metaclasses. Is possible give my compiled clang as toolset?

或者 - Visual Studio编译器v16将具有元类,它将捆绑在2019年的真实版本中?

Alternatively - Visual Studio compiler v16 will have metaclasses and it will bundled at true version 2019?

推荐答案

嗯,Visual Studio 2019仍处于开发阶段,Visual C ++工具集几乎总是比其他工具晚一些。此外,Visual Studio 2019中的编译器工具集是14.20,这比
Visual Studio 2017 Update 9(即14.16)附带的编译器工具集更新。他们也推迟了自Visual Studio 2015(14.0)以来的主要版本冲击,因此不容易猜出下一个版本将是什么。此外,路线图中没有任何关于使用下一版本的Visual C ++将会带来什么功能的信息。

Well, Visual Studio 2019 is still in development, and the Visual C++ toolset has almost always dropped later than the rest of the tools. Also, the compiler toolset that is in Visual Studio 2019 is 14.20, this is newer than the one which comes with Visual Studio 2017 Update 9 (that is 14.16). They have also put off a major version bump since Visual Studio 2015 (which was 14.0) so it is not easy to guess what the next version will be. Also, there is nothing in the roadmap about what features will be coming with the next versions of Visual C++.

无论如何,如果你想在Visual Studio中使用LLVM / Clang ,你现在实际上需要Visual Studio 2017。然后,您需要使用

此扩展程序
。然后,您可以使用已安装的版本或将其重定向到您希望使用的版本。

Anyway, if you want to use LLVM/Clang in Visual Studio, you actually need Visual Studio 2017 at the moment. You then need to use this extension. You can then get it to use an installed version or redirect it to the version you wish to use if you are building your own.


这篇关于元类和铿锵工具链的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆