hello all,
Hello :)
what's causing this?
Most probably you have selected a Windows GUI application instead of a Windows Console Application. A console application starts from a main function, and a GUI applications starts from a Winmain function. Because cygwin is a command line tool, and all the settings are done by hand you will not get that error.