help needed

lrtaylor@micron.com lrtaylor@micron.com
Tue Jun 8 16:22:00 GMT 2004


main returns an int, but the void in the parameter list is not
necessary.  "int main()" is equivalent.

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Claudio Bley
Sent: Tuesday, June 08, 2004 4:17 AM
To: gcc-help@gcc.gnu.org
Subject: Re: help needed


> void main ()

This *needs* to be "int main(void)".




More information about the Gcc-help mailing list