C4900: Function differs in return type only

[ERROR]

Description

The overloaded function has the same parameters, but not the same return type.

Example
  void f(int);

  
  void f();

  
  int f(int);  // error

  
Tips

A function redeclaration with the same parameters must have the same return type than the first declaration.