Initialized bitfileds - help me read

William E. Davidsen Jr davidsen at steinmetz.ge.com
Wed Mar 15 01:51:38 AEST 1989


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 at ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.std.c mailing list