🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5753

Initialized bitfileds - help me read

#5753
From: William E. Davidsen Jr
Date: Tue, 14 Mar 1989 15:51
15 lines
1177 bytes
Are there any *standard* caveats about bitfield initialization? I have
read dpANS 3.5.2.1 (bitfields) and 3.5.7 (initialization) without
finding any, but I had one of my students bring me a simple program
which fails on two compilers, and I want to be sure that I'm not missing
something before I tell him that both compilers are broken.

I have already added this to my personal list of things to avoid in a
program I have to port to a number of machines...

Mail or post depending on your perception of public interest, if you can
point out a section I've missed, feel free.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID: <13363@steinmetz.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.std.c
Subject: Initialized bitfileds - help me read
Keywords: bitfields, initialize
Message-ID: <13363@steinmetz.ge.com>
Date: 14 Mar 89 15:51:38 GMT
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: GE Corp. R & D, Schenectady,NY
Lines: 15