I talked my team into turning on compiler warnings again. Some how all warnings (-w) were disabled (don't ask...). Most of them are obvious but one of them is really annoying. I get it from my date and time classes which are used in lots of places. Story is really simple. Time is subclass of Date and both of them have their operators defined. What can be wrong with that? Here's the warning I get:
Warning: ACTime::operator- hides the function ACDate::operator-(const ACDate&) const.
Perhaps somebody can link me the docs describing what each of SunStudio C++ compiler warnings mean? I can't find this... Thanks!