Subject: Re: main return...
To: Peter Seebach <>
From: Peter Svensson <>
List: current-users
Date: 03/21/1996 09:10:45
On Wed, 20 Mar 1996, Peter Seebach wrote:

> Would anyone *object* to enabling the gcc hack for detecting invalid return
> types from main, and returning 0 automatically if no return is
> specified?

Generating lots of complaints on missing/wrong returns from main I would 
see as a good thing. I assume your change will also complain when invoking
the magic that returns 0? As long as it warns the user that he made a 
misstake and forgot the return this would be a good thing, I think.