Compiler Error C2731

'identifier' : function cannot be overloaded

The functions main, WinMain, and LibMain cannot be overloaded.

The following is an example of this error:

extern "C" void WinMain(int, char *, char *);
void WinMain(int, short, char *, char*);       // error