Path: 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 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