Text File

Aucbvax.5229 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Tue Nov 17 21:11:52 1981 Re: unamed bit fields and other losses on v7 c >From dan@BBN-UNIX Tue Nov 17 21:03:58 1981 Contrary to a recent message, the Ritchie V7 C compiler does implement bit fields, both named and unnamed (I just tried it). In fact, the "Phototypesetter" compiler, an earlier version, implements them too, and the C book describes them. What neither one implements is signed bit fields; even if you declare a bit field as an int, its values are still unsigned. I don't know how pcc or Berkeley 4.1BSD C compilers do on that one.

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.