Search code examples
c++visual-studio-2005visual-c++-2005

Visual Studio 2005 C++ Compiler slower that Visual Studio 6 Compiler?


One of our old C++ projects is still with Visual Studio 6. Once a year I try to convert it in to a higher Visual Studio Version but it's not easy because not all the code is written by us. Anyway, I finally succeeded in converting the project to VS2005 after fixing a few hundred lines of code. But compiling the projects takes a very long time! Much longer than in VS6.

Some classes have a lot of codelines, a few thousands even. These are just arrays to be filled in the code with a lot of items. I know it's not the perfect solution but this is how it is at the moment and VS6 never had a problem with that.

Maybe there are just some settings I have to adjust to speed things up but if it stays like it is now I will keep it as an VS6 project since I don't want to sit at my desk all day doing nothing.

Any ideas?


Solution

  • VS2005 produces more optimized code and thus has to spend extra time figuring out how to make it faster.