Subject: Re: main return...
To: None <petersv@df.lth.se>
From: Peter Seebach <seebs@solon.com>
List: current-users
Date: 03/21/1996 06:17:52
It does not actually complain on a default return.  This is OK with me,
because ANSI makes it explicitly legal to just fall off the end of an
int main, but I wouldn't mind a "smarter" patch.  It would be more work
to maintain, because it would not be using the existing code, but it
would be pretty easy.

(And actually, if you do declare main as int, I believe it will, with
-Wall, always warn you anyway.)

Anyone for setting gcc to -Wall by default?  :)

-s