Re: Code thats out there!

From: Naved A Surve (
Date: 06/19/95

In message <> you said:

> It should be possible to use a union of a bitfield and a bitvector so
> you can use both systems at the same time.

Actually, that is running into undefined behaviour in C.  If you have a
structure of bitfields you don't know the order in which those bits are
packed into words; that is system dependant.  To top that off, writing data
to one union member and reading from another is also undefined.


Naved A. Surve <>             The Johns Hopkins University
<URL:>     Baltimore, MD

This archive was generated by hypermail 2b30 : 12/18/00 PST