如何消除这个编译警告'Generate Browser Info' inconsistent with precompiled header

Q:   When   running   an   incremental   build   with   MSVC   after   building   with   IncrediBuild,   I   get   the   following   build   warning:   "warning   C4652:   compiler   option   'Generate   Browser   Info'   inconsistent   with   precompiled   header;   current   command-line   option   will   override   that   defined   in   the   precompiled   header".   What   is   wrong?  

A:   There   is   a   conflict   between   IncrediBuild's   browse   information   creation   options   and   the   way   MSVC   handles   browse   information   for   that   project.   To   overcome   this,   do   one   of   the   following:             If   you   wish   to   use   browse   information:  

1.   Set   the   configuration's   project   settings   to   generate   browse   information   (this   is   done   by   checking   the   browse   info   checkboxes   on   both   the   C/C++   page   and   the   Browse   info   page   in   MSVC's   project   settings   dialog).  

2.   Set   IncrediBuild's   browse   information   creation   settings   (in   the   Agent   Settings   dialog)   to   create   browse   information   for   this   configuration   (this   can   be   done   by   selecting   "Always"   or   "According   to   'Generate   browse   info'   project   setting",   or   by   using   a   matching   search   phrase).  

3.   Rebuild   the   project.  

If   you   do   not   wish   to   use   browse   information:  

1.   Set   the   configuration's   project   settings   NOT   to   generate   browse   information.  

2.   Set   IncrediBuild's   browse   information   creation   settings   (in   the   Agent   Settings   dialog)   NOT   to   create   browse   information   for   this   configuration   (this   can   be   done   by   selecting   "Never"   or   "According   to   'Generate   browse   info'   project   setting",   or   by   using   a   matching   search   phrase).        

3.   Rebuild   the   project.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值