Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future relea

本文详细介绍了如何在Visual Studio 2008和2010中解决禁用/Wp64选项导致的64位可移植性问题,包括项目属性设置和命令行选项的调整。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

1、

Well, as the warning suggests, don't use the /Wp64 option.

If you are using VS2008 then go to Project Properties->Configuration Properties->C/C++->Generaland disable Detect 64-bit Portability Issues.

2、

For VS2010 there is no compiler setting for this in the IDE, so VS2010 shouldn't be giving it, if it is then you have added it to the command line yourself. In this case, go toProject Properties->Configuration Properties->C/C++->Command Line and remove /Wp64from the options.

If you want to test if your program will have problems building for a 64 bit platform then it is better to use the x64 compileritself to build the project and see if it will give any problems.


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值