From owner-freebsd-hackers Fri Aug 7 15:42:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11009 for freebsd-hackers-outgoing; Fri, 7 Aug 1998 15:42:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA10969 for ; Fri, 7 Aug 1998 15:42:48 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id PAA02961; Fri, 7 Aug 1998 15:42:22 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd002782; Fri Aug 7 15:42:11 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id PAA02451; Fri, 7 Aug 1998 15:41:51 -0700 (MST) From: Terry Lambert Message-Id: <199808072241.PAA02451@usr02.primenet.com> Subject: Re: C and static initialization with unions To: jb@cimlogic.com.au (John Birrell) Date: Fri, 7 Aug 1998 22:41:51 +0000 (GMT) Cc: mike@smith.net.au, tlambert@primenet.com, Nicolas.Souchu@prism.uvsq.fr, chuckr@Glue.umd.edu, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199808070232.MAA02971@cimlogic.com.au> from "John Birrell" at Aug 7, 98 12:32:23 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Seeing as nobody actually seems to want this, it's obviously not of > > much interest. > > ... and these days it seems that the GNU tools get ported to the "older" > OS first and you just use them. And you get to become the "GCC for machine XYZ maintainer", which is what I definitely don't want to do. > So unless there is a late rush of people wanting to port FreeBSD to another > processor for which GNU tools don't exist, I'd prefer to see the K&R bit > dropped in favour of ANSI C and get people to learn to compile things with > compiler higher warning levels. These issues are orthogonal. The prototype-based warnings require that there are prototypes in scope. The do *not* (or should not, according to the ISO (ANSI) standard) require that the functions use ANSI style declarations. I am not suggesting that there will not be prototype in scope, in the case an ANSI compiler is used. There will be. I am merely complaining that ANSI style declarations and deprecation of __P() prototype wrapping for forward declarations will cause older compilers to fail. Similar arguments can be made about the non-use of the "extern" keyword on such declarations, and forward declaration of structures (used to allow object recursion). 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message