This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc warning
- To: Joaquin Ferruz Melero <ferruz at cartuja dot us dot es>
- Subject: Re: gcc warning
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Oct 2000 03:47:38 -0200
- Cc: help-gcc at gnu dot org
- Organization: GCC Team, Red Hat
- References: <200010021155.LAA28240@cartuja.us.es>
On Oct 2, 2000, Joaquin Ferruz Melero <ferruz@cartuja.us.es> wrote:
> Is there any standard that forces "main" to return an "int", even
> when its return value is not normally used?
Yep, the ISO C Standard does.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me