From owner-freebsd-hackers Thu Aug 6 10:33:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15120 for freebsd-hackers-outgoing; Thu, 6 Aug 1998 10:33:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15115 for ; Thu, 6 Aug 1998 10:33:28 -0700 (PDT) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-e.isi.edu [128.9.160.240]) by tnt.isi.edu (8.8.7/8.8.6) with ESMTP id KAA09052; Thu, 6 Aug 1998 10:32:19 -0700 (PDT) Message-Id: <199808061732.KAA09052@tnt.isi.edu> To: Nicolas Souchu Cc: Mike Smith , Terry Lambert , Chuck Robey , freebsd-hackers@FreeBSD.ORG Subject: Re: C and static initialization with unions In-Reply-To: Your message of "Thu, 06 Aug 1998 11:31:59 -0000." <19980806113159.49110@breizh.prism.uvsq.fr> X-Url: http://www.isi.edu/~faber Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Aug 1998 10:32:19 -0700 From: Ted Faber Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Nicolas Souchu wrote: >On Tue, Aug 04, 1998 at 06:49:27PM -0700, Mike Smith wrote: >>The gcc info "extensions/named elements" section describes a useful >>extension that lets you cut through much of this crap. > >It becomes a FreeBSD related question then... thanks mike ;) Uhhh, no. It becomes a gcc-related question. > >Is it allowed in FreeBSD? Is all FreeBSD C source code portable? Now *that's* a FreeBSD-related question. I don't see anything regarding unions or initialization in style(9), other than > When declaring variables in structures, declare them sorted by use, then > by size, and then by alphabetical order. The first category normally > doesn't apply, but there are exceptions. Each one gets its own line. > Put a tab after the first word, i.e. use `int^Ix;' and `struct^Ifoo *x;' And, of course, all FreeBSD source is portable. :-) :-) :-) - ---------------------------------------------------------------------- Ted Faber faber@isi.edu USC/ISI Computer Scientist http://www.isi.edu/~faber (310) 822-1511 x190 PGP Key: http://www.isi.edu/~faber/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNcnooob4eisfQ5rpAQEOCgP/b7ZsC6I/aBPYMwIzOCSn4Xs0JP568pLg 02U3QokvnIuHuURlnvc0kr8zs8CGon3qZp/RMoBXExEpkgGE0+exhT5lGdEEhNK3 7qDNNpobpbn3h9muT9fjCaypXSMIYmoDg4FKtWlPIhXd+lxPJ1mh0t0ELU82zvug ySA5rRgFkVA= =Z7Fg -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message