Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 1998 10:32:19 -0700
From:      Ted Faber <faber@ISI.EDU>
To:        Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
Cc:        Mike Smith <mike@smith.net.au>, Terry Lambert <tlambert@primenet.com>, Chuck Robey <chuckr@glue.umd.edu>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: C and static initialization with unions 
Message-ID:  <199808061732.KAA09052@tnt.isi.edu>
In-Reply-To: Your message of "Thu, 06 Aug 1998 11:31:59 -0000." <19980806113159.49110@breizh.prism.uvsq.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
-----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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808061732.KAA09052>