RAD Studio
ContentsIndex
PreviousUpNext
E2427: 'main' cannot be a template function (C++)

'main' cannot be declared as a template function. 'main' is the entry point of a console application, and it should be declared as a regular __cdecl function.  

This error message should not occur because it has been replaced with another one (E2475).

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!