我使用 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/