This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2812: Warning #1051-D (Base Class Method hidden by Child Class Method)

Part Number: TMS320F2812

Greetings,

I am porting some older code to the newer CCS and specifically the 20.2.5 LTS compiler.  In some cases, a virtual method in a base class is being overridden in the child class and not used.  With the older tools, this did not cause a warning, but now with the newer complier it is.  Specifically we receive the following:

 #1051-D function "<base_class>::<Method>(<parameters>)" is hidden by "<child_class>::<Method>" -- virtual function override intended?         <base_class_file_name>.hpp      /<folder>            line 374 C/C++ Problem

 The override is intentional, and in this case, there is no intention of using the base class method.  Is there a way to tell the compiler that this is intentional?

 Thank you,

 Ed