Mail Archives: djgpp/1997/05/25/03:20:07
nikki wrote:
> a common one is 'warning return type of 'main' is not 'int''
> as will be thrown up by the following
>
> void main()
> {
> }
>
> can the pgcc people please justify a reason for this?
here we go again ... main is supposed to return an int ... that's it.
also, a compiler is free to print any warning it wants. i haven't used
pgcc, don't even have a pentium, but i do not see why you get so worked
up about this very valid warning.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
- Raw text -