release中出现如下编译提示.(指向程序中的#include"stdafx.h")但在 debug中正常.请问该如何改?新手再次谢过
--------------------Configuration: Player - Win32 Release--------------------
Compiling resources...
Compiling...
Player.cpp
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4653: compiler option 'Optimizations (one or more of /Oawp[y])' inconsistent with precompiled header; current command-line option ignored
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gm' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4651: '/D_DEBUG' specified for precompiled header but not for current compile
PlayerDlg.cpp
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4653: compiler option 'Optimizations (one or more of /Oawp[y])' inconsistent with precompiled header; current command-line option ignored
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gm' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4651: '/D_DEBUG' specified for precompiled header but not for current compile
Generating Code...
Error executing cl.exe.Player.exe - 6 error(s), 6 warning(s)
--------------------Configuration: Player - Win32 Release--------------------
Compiling resources...
Compiling...
Player.cpp
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4653: compiler option 'Optimizations (one or more of /Oawp[y])' inconsistent with precompiled header; current command-line option ignored
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gm' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\Player.cpp(4) : warning C4651: '/D_DEBUG' specified for precompiled header but not for current compile
PlayerDlg.cpp
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4653: compiler option 'Optimizations (one or more of /Oawp[y])' inconsistent with precompiled header; current command-line option ignored
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gm' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : error C2855: command-line option '/Gi' inconsistent with precompiled header
C:\Documents and Settings\ll1\桌面\Player\PlayerDlg.cpp(4) : warning C4651: '/D_DEBUG' specified for precompiled header but not for current compile
Generating Code...
Error executing cl.exe.Player.exe - 6 error(s), 6 warning(s)
解决方案 »
- 怎样使用多线程和GDI+绘制一个坐标图
- 如何改变继承了 CRichEditView 的单文档默认字体?
- 新手提问
- 请问在VC中可不可以用CreateThread函数开多个同样函数名的线程,它们的运行会有冲突吗?
- VC中程序运行出错时如何快速的定位找出出错的代码行?
- 如何从一个文件夹拷贝bmp文件到另一个文件夹?
- 如何编程实现清除属性页中编辑框里面的内容?
- 紧张求助,串口通讯问题
- 如何在对话框操作中,不让控件吃掉键盘的消息
- 菜鸟求助~本鸟对WNDCLASSEX中的cbSize这个成员不太明白,干啥用的?
- 对话框最大化的问题!
- 如何改变CPropertySheet上属性页(CPropertyPage)所占空间的大小?
这是vc中解决问题的方法,vs2005中好像没找到