Subject: Re: main return...
To: Peter Seebach <firstname.lastname@example.org>
From: Jim Wise <email@example.com>
Date: 03/21/1996 13:47:29
At 4:05 PM 3/20/96, 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
>This would get pedant points and make naive programs (those that forget
>to return a value) safer in shell scripts.
>If there are no objections, I'll probably send-pr this. It's a trivial
>thing (one line in config/netbsd.h) and will help NetBSD users everywhere
>write better C.
>(Oops. arch/netbsd.h, for our integrated gcc.)
While your at it do we/should we apply the 'repo' patch to gcc to allow for
Columbia University GSAPP