I just got the same error in cygwin/gcc and found this thread. As noted the reason is that the "main" function with the proper signature was not supplied. I am using the following though, thanks anyway.
Code:
int main( int argc, char *argv[] ) { //... return 0; }
Leave a comment: