【笔记】VC++ 6.0 的两个错误解决办法
本帖最后由 奋斗丶小Z 于 2015-11-11 18:10 编辑经常在编译程序中遇到fatal error C1010错误和warning LNK4089编译警告
解决办法:
1,fatal error C1010: unexpected end of file while looking for precompiled header directiveError executing cl.exe.解决:project > set > c/c++ 选择:not using precompiled header 或者 automatic use of precompiled headers
2, warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF解决方法1:在Project-->Setting->Link选项中的Object/library modules中添加"/OPT:NOREF "。解决方法2:使用"#pragma warning(disable:4089)"屏蔽该warning
一直没遇到过这种问题 七夜魔君 发表于 2015-11-11 17:27
一直没遇到过这种问题
经常在编译程序时遇到,所以总结分享下。 楼主赶紧发了一帖防止被删号- - ! 学习中。。谢谢 没遇到这种情况 vc6.0好像装不上64位系统
页:
[1]