E2113 Virtual function 'function1' conflicts with base class 'base' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

A virtual function has the same argument types as a function in a base class, but differs in one or more of the following:

  • Return type
  • Calling convention
  • Exception specification (throw list)

To solve this problem, you can either change the name of the function or make sure that the virtual function has the same name and argument types as the function in the base class, but differs in one or more of the above.