Excluding /MP

  • Thread starter Thread starter Brian Corcoran
  • Start date Start date
B

Brian Corcoran

I want to exclude /MP for one file (precompiled header .cpp file) but don't
see a way to do that. I want to avoid the annoying D9030 warning. Any ideas
on how to do this? /MP is inherited from the project settings, and I don't
want to have to set it individually on each file.

Thanks,

Brian
 
I want to exclude /MP for one file (precompiled header .cpp file) but don't
see a way to do that. I want to avoid the annoying D9030 warning. Any ideas
on how to do this? /MP is inherited from the project settings, and I don't
want to have to set it individually on each file.

Brian,

Can't you just *not* set it on that one file in the project?

Dave
 
No, the /MP is inherited from the general project and can't be edited. The
only workaround I know of is to separately set the switch for each .cpp file,
which is too cumbersome.

Brian
 
Back
Top