lemony
驱动牛犊
驱动牛犊
  • 注册日期2005-12-09
  • 最后登录2013-03-24
  • 粉丝0
  • 关注0
  • 积分100分
  • 威望26点
  • 贡献值0点
  • 好评度25点
  • 原创分0分
  • 专家分0分
阅读:1272回复:1

如何在Sources中加入/Gz的编译选项

楼主#
更多 发布于:2007-08-01 10:00
目前我要编译cpp...

因为调用约定的关系导致很多函数无法链接

devia
论坛版主
论坛版主
  • 注册日期2005-05-14
  • 最后登录2016-04-05
  • 粉丝3
  • 关注0
  • 积分1029分
  • 威望712点
  • 贡献值1点
  • 好评度555点
  • 原创分8分
  • 专家分4分
沙发#
发布于:2007-08-01 12:02
PRECOMPILED_CXX
Use the PRECOMPILED_CXX macro to indicate whether the precompiled header you are building will be used with files written in C or C++.

In the Windows DDK, the default behavior is to use precompiled headers with files written in C. Therefore, you should not set PRECOMPILED_CXX if your project will use the precompiled header with files written in C.

To use the precompiled header with C++ files, specify:

PRECOMPILED_CXX=1
人总在矛盾中徘徊。。。
游客

返回顶部