views:

37

answers:

2

Hello,

I have a Visual Studio 2003 solution that I've opened with VS2008, and it converted successfully. However, it won't build because the code contains some things that were acceptable under Visual Studio 2003, but simply don't fly under Visual Studio 2008. Changing the code would be really difficult in my particular situation. Is there a flag or something that I can set which would use 2003-compatible compilation?

Cheers, Frank

A: 

The default warning level in VS2008 is -W3. Change the warning level to -W2 (more forgiving). I had the same issue moving from VC6 to VS2008.

Right-click on the project; select Properties; Warning Level is set in the Compiler section.

Scott Thomson
Thanks very much for your help. I tried this, as well as setting it to W1, however I am still not able to get the code to compile. I may be out of luck! (without getting a copy of 2003 hehehe)
Knarf Navillus
A: 

There is not a compatibility switch. You'll have to install VS2k3 if you can't update the source code.

Joe
Ok thank you very much. =)
Knarf Navillus