Sign in to follow this  
muse1987

VS2008 : How to supress "Wp64 deprecated" warning

Recommended Posts

I've just move to Visual Studio 2008 and it shows command-line warning when I build my project.
Quote:
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
I understand what it means but I do love /Wp64 option. And that command-line warning is the ugliest thing in my project. Is is possible to suppress that warning? Please let me know

Share this post


Link to post
Share on other sites
Project->Properties->C/C++->General->Detect 64-bit Portability Errors->No.

Either that. Or if you really want to keep it enabled (no idea why you would, but anyway), you could probably suppress it with a #pragma or adding the warning code to the project's warning ignore list.

Share this post


Link to post
Share on other sites
If you want to find 64-bit portability problems the real 64-bit compiler is a much better tool to do so then some hacked-up, buggy, deprecated switch (the 64-bit compiler will run on 32-bit OS). Just periodically build your stuff with the 64-bit compiler, even if you don't intend to release that version.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this