A function has been declared as both overloaded and non-overloaded.

#2160   Compile-time error

A function has been declared as both overloaded and non-overloaded.

Additional Information

For function 'X'.

Explanation

If one function predefinition or definition declares the function as OVERLOADED, they must all do the same.