gpt4 book ai didi

c++ - 如何禁用来自非项目文件的警告? --- Visual Studio 2010

转载 作者:行者123 更新时间:2023-11-28 07:27:03 26 4
gpt4 key购买 nike

我使用 Ogre 3d,它会产生大量警告。

我可以为不在我的项目中的文件禁用所有警告吗?

最佳答案

在包含 ogre3d header 之前使用“#pragma warning”(我猜你是在“stdafx.h”中这样做的)。 Here a link how that work .

关于c++ - 如何禁用来自非项目文件的警告? --- Visual Studio 2010,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18576425/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com