Compiler bug

 

Hi,

I've found that with overloading a class method of the parent class, the compiler issues a warning which in my opinion makes no sence.

The compiler warning:

deprecated behavior, hidden method calling will be disabled in a future MQL compiler version


the minimalistic code that issues the warning:

class CStream
{
   public:
      bool                 Open(void)                 { return true; }
};

class CMqlFile : public CStream
{
   public:
      bool                 Open(string name)          { return Open(); }
};