From owner-freebsd-hackers Sat Aug 8 07:11:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16250 for freebsd-hackers-outgoing; Sat, 8 Aug 1998 07:11:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA16243 for ; Sat, 8 Aug 1998 07:11:26 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id HAA20196; Sat, 8 Aug 1998 07:11:07 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpd020171; Sat Aug 8 07:11:05 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id HAA13932; Sat, 8 Aug 1998 07:10:55 -0700 (MST) From: Terry Lambert Message-Id: <199808081410.HAA13932@usr02.primenet.com> Subject: Re: C and static initialization with unions To: rotel@indigo.ie Date: Sat, 8 Aug 1998 14:10:55 +0000 (GMT) Cc: tlambert@primenet.com, mike@smith.net.au, Nicolas.Souchu@prism.uvsq.fr, chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199808081034.LAA00857@indigo.ie> from "Niall Smart" at Aug 8, 98 11:33:46 am 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 > > The problem here is that "largely" is just as uncompilable as "not at > > all". > > Is it? How many developers care that isn't possible? Only the ones actually doing work with modern developement tools. In other words, only the ones you really want to hear from. > In general, sticking to ANSI C enforces some programming discipline, So does sticking to any particular style guide. > but if a gcc-ism significantly eases development of some code then I > think it makes sense to use it, and come back when some other > production compiler is being used. (if ever) The fallacy here is "any production compiler with gcc extensions". > It seems a trifle silly for everyone to have to use K&R-isms (which > I find a pita) just so you can use some obsolete compiler on some > obsolete processor. You find it a PITA/obsolete because you are bringing prejudices to the table with you. Specifically, because you already use GCC. 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