Visual Studio C++编译器标志:什么是-Zm200?

发布于 2024-08-21 14:55:37 字数 167 浏览 6 评论 0原文

我使用 Qt 进行 C++ 开发,今天我从 .pro 文件生成了 .vcproj 文件。

我注意到在 vcproj 项目属性下,Qt将此标志添加到了 C/C++ ->命令行 ->附加选项

-Zm200 

什么是-Zm200?

I use Qt for C++ development, and today I produced a .vcproj file from a .pro file.

I noticed under the vcproj project properties, Qt added this flag into the C/C++ -> Command Line -> Additional Options

-Zm200 

What is -Zm200?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

演多会厌 2024-08-28 14:55:37

-Zm 指定预编译头内存限制(更多信息此处)。它限制编译器可以分配用于处理预编译头的内存量。对于 Visual C++ 2008,-Zm200 表示限制为 150 MB。

-Zm is Specify Precompiled Header Memory Limit (more info here). It limits the amount of memory the compiler can allocate for processing precompiled headers. For Visual C++ 2008, -Zm200 means limit to 150 MB.

千寻… 2024-08-28 14:55:37

这限制了编译器的最大堆大小根据这篇文章。所以这根本不会影响你的程序

This limits the maximum heap size for the compiler according to this article. So this doesn't affect your program at all

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文