Mail Archives: djgpp/1997/05/24/20:18:04
On 24 May 1997 19:28:36 GMT, nikki AT gameboutique DOT co (nikki) wrote:
>
>i have some questions of my own to add here about pgcc, a lot of the programs
>i'm compiling are throwing up errors all over the place, they compile quite
>happily however under standard gcc even with -Wall on.
>a common one is 'warning return type of 'main' is not 'int''
>as will be thrown up by the following
>
>void main()
>{
>}
because in standard C, main MUST return int!
-------------------------------------
Peter Johnson
-------------------------------------
locke AT mcs DOT net
http://locke.home.ml.org
-------------------------------------
Freelance C/C++/Pascal/Asm programmer
for DJGPP, Borland, and Watcom compilers
Member of BiLogic demo group
-> http://BiLogic.home.ml.org
Member, C group advisor of AL's SoftWare
-> http://www.cybercomm.net/~alsoft/
-------------------------------------
- Raw text -