visual-studio-2008compiler-optimizationwindows-7-x64

Visual Studio 2008 x64 /MP compiler switch


I have a problem with my newly installed VisualStudio 2008 SP1 on a Windows 7 SP1 x64 system.

I work on a project that's under Clearcase and the solution contains like 10 projects.

Each project has an additional compiler switch: "/MP", for optimization purpose. My colleagues build the projects with this switch (builds faster), but on x64 system gives some errors.

Is there a way to ignore this switch without checking out every project and delete this switch from the compiler options of each project.


Solution

  • Edit I hadn't looked at the particular option you mentioned. It turns out it relates to parallel building and I think the suggestions by Hans make more sense in that case.


    The best you could do is create build configurations for the 64bit builds so you can have separate sets of compile/link options.

    On the short term, and for a proof-of-concept, I'd simply

    If all works, discuss whether you need 64bit support. If so, add the build configurations to the official repo version.