Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 15:00:02 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/27422: change request
Message-ID:  <200107202200.f6KM02N04419@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/27422; it has been noted by GNATS.

From: Mike Barcroft <mike@FreeBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107202200.f6KM02N04419>