From owner-freebsd-hackers Sat Aug 8 03:49:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01124 for freebsd-hackers-outgoing; Sat, 8 Aug 1998 03:49:51 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (ts05-047.dublin.indigo.ie [194.125.220.57]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01118 for ; Sat, 8 Aug 1998 03:49:25 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id LAA00857; Sat, 8 Aug 1998 11:34:11 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199808081034.LAA00857@indigo.ie> Date: Sat, 8 Aug 1998 11:33:46 +0000 In-Reply-To: <199808072029.NAA25160@usr02.primenet.com>; Terry Lambert Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Terry Lambert , mike@smith.net.au (Mike Smith) Subject: Re: C and static initialization with unions Cc: Nicolas.Souchu@prism.uvsq.fr, chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Aug 7, 8:29pm, Terry Lambert wrote: } Subject: Re: C and static initialization with unions > > Not being able to compile FreeBSD with TenDRA is a sin. > > The problem here is that "largely" is just as uncompilable as "not at > all". Is it? How many developers care that isn't possible? How many end users? I think it makes sense to avoid gcc-isms wherever possible but its not a religious thing with me. In general, sticking to ANSI C enforces some programming discipline, 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) > I also have patches to cdefs.h that wrapper ANSI vs. non-ANSI vararg > declarations. I use them to compile FreeBSD code using Aztec C, > which is the only C compiler to get the sizeof(int) right on the 16 > bit address bus Motorolla 68000. 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. Niall -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message