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

来源:互联网 发布:java写贪吃蛇 编辑:程序博客网 时间:2024/05/01 22:53

 

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.


 

原创粉丝点击