RAD Studio
ContentsIndex
PreviousUpNext
W8099: Static main is not treated as an entry point

The main function has been created as static, and as such cannot be used as a valid entry point. 

Consider:

static void main(int argc, char**argv)
{
}

The above is valid C syntax, but cannot actually be called as the startup routine since it has been declared static.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!