且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误 C2220:警告被视为错误 - 未生成“对象"文件

更新时间:2022-04-14 01:33:01

错误表示警告被视为错误,因此您的问题是警告消息!然后不会创建目标文件因为有一个错误.所以你需要检查你的警告并修复它们.

The error says that a warning was treated as an error, therefore your problem is a warning message! The object file is then not created because there was an error. So you need to check your warnings and fix them.

如果您不知道如何找到它们:打开 Error List(View > Error List)并点击警告.

In case you don't know how to find them: Open the Error List (View > Error List) and click on Warning.