So, I have to use precompiled headers in my VS 2005 project. Now I have a shared source file that does not have a #include "stdafx.h"... How can I include the shared source file in my project without adding stdafx.h to the top of the source file and without turning off precompiled headers??
如何解决C1010的错误,而不去掉预谋的头盔?
原标题:How to fix a C1010 error without turning off precompiled headers?
最佳回答
档案财产——>C/C++ - 设计;
问题回答
在C/C++中查看该档案的特性(图象) - 预设标题部分。
将“Create/Use Precompiled Header”改为“Not Using Precompiled Headers”。
注——我刚刚在2003年5月3日核对了这一情况——“might”方案已在2005年或2008年5月5日启动,但我对此表示怀疑。 即便如此,也很难找到。
也可以使用。 页: 1 “这一选择具有同样的效力,即在关于指挥线、CL环境变量或指挥档案中具体列出的每个来源档案第一线的“指示”中,对档案注明双重引用标记。
在不改变所有来源档案的情况下采用编目标题是多余的。
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding