From owner-freebsd-bugs Fri Jul 20 15: 0: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EEE6237B403 for ; Fri, 20 Jul 2001 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6KM02N04419; Fri, 20 Jul 2001 15:00:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 20 Jul 2001 15:00:02 -0700 (PDT) Message-Id: <200107202200.f6KM02N04419@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: bin/27422: change request Reply-To: Mike Barcroft Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/27422; it has been noted by GNATS. From: Mike Barcroft To: jason@smethers.net Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/27422: change request Date: Fri, 20 Jul 2001 18:16:00 -0400 On Fri, Jul 20, 2001 at 03:51:33PM -0500, Jason wrote: > On Tuesday 17 July 2001 10:13, mike@FreeBSD.org wrote: > > Also, we have corrected gcc so that it no longer warns about > > a non-prototyped main(). > > > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27422 > > What if I decide to use a complier other than gcc? It may break. > > Why not correct the code? You can be sure that someone will bring this kind > of stuff up again and again. Why not fix just it now and have it over with? A prototype of main() should never be required. A warning such as a missing prototype is almost never a fatal error. The only reason we corrected gcc was because of the WARNS lockdown we are currently doing (see -audit archives for details). Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message