RAD Studio
ContentsIndex
PreviousUpNext
E2427: 'main' cannot be a template function

'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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!