Turn off Warning re:inheriting via dominance

Started by
2 comments, last by tscott1213 21 years, 5 months ago
I am using Visual C++ ver 6.0. Does anyone know how to suppress warning C4250 that indicates a member function is being inherited via dominance? Thanks Todd
Advertisement
#pragma warning(disable: 4250)
Aaargh! Everyone save your workspaces before your program locks up your computer!
Ahhhh...quite simply really.
I''m feeling a bit like a dope.

Thanks for the help.
Todd
If you do turn off that warning, do so selectively:

#pragma warning(push)
#pragma warning(disable: 4250)
//comment here on why the warning was disabled
//code that creates benign warning
#pragma warning(pop)
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement