Date: Tue, 4 Aug 1998 18:11:43 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: rivers@dignus.com (Thomas David Rivers) Cc: chuckr@glue.umd.edu, Nicolas.Souchu@prism.uvsq.fr, freebsd-hackers@FreeBSD.ORG Subject: Re: C and static initialization with unions Message-ID: <199808050111.SAA10720@bubba.whistle.com> In-Reply-To: <199808042227.SAA16749@lakes.dignus.com> from Thomas David Rivers at "Aug 4, 98 06:27:34 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
FYI, One non-portable nicety of gcc is that you can do this: union foo { int iarg; char carg; }; static union foo x = { carg: 12 }; -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com 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?199808050111.SAA10720>