Excluding /MP

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
 
D

David Lowndes

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
 
B

Brian Corcoran

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top