1)编译错误C2220和警告C4819
错误描述(在vs2005中,特别是查看别人的代码)
.\crt_dbg1.c : error C2220: warning treated as error - no 'object' file generated
.\crt_dbg1.c : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
修改方法:只需要对次文件 Ctrl+A ,Ctrl+X, 然后再 Ctrl+V就搞定。(使文件变为unicode)
我出现这个问题是在directshow的d3d9types.h文件中。
阅读(3036) | 评论(0) | 转发(0) |