From owner-freebsd-current Fri Nov 22 13:29:40 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA18760 for current-outgoing; Fri, 22 Nov 1996 13:29:40 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA18738 for ; Fri, 22 Nov 1996 13:29:31 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA15993; Fri, 22 Nov 1996 14:15:08 -0700 From: Terry Lambert Message-Id: <199611222115.OAA15993@phaeton.artisoft.com> Subject: Re: cdrom boot? To: imp@village.org (Warner Losh) Date: Fri, 22 Nov 1996 14:15:07 -0700 (MST) Cc: bde@zeta.org.au, Christian.Gusenbauer@utimaco.co.at, Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@FreeBSD.org In-Reply-To: from "Warner Losh" at Nov 22, 96 08:16:42 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Isn't there unprotoize in the gcc distribution that does this? Or are > there things other than the prototypes that are new to Ansi-C that > will trip you up? I think you are thinking of "protoize". I think there might be an unprotoize, but I think the idea of the GCC crowd is to move toward ANSI code, not away. Depending on the compiler and the code, you may see problems with const, volatile, and structure assignments. There are also problems with agregate initialization of structure arrays (it works in K&R using "{" based scoping, but fails in GCC). Going *to* ANSI, you will see problems with the optimizer assuming that it can promote things to register if they are not marked volatile; this is a real problem for things like signal handlers which set state (any external reference in a signal handler is, by definition, a volatile reference; silly to have to explicitly mark each datum, isn't it.. ;-)). Actually, you're probably in a better position to documnet FreeBSD dependencies on semantics than I am, since you're the BCC user... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.