From: utzoo!henry Newsgroups: net.unix-wizards Title: Re: Lint bug with bit fields Article-I.D.: utzoo.2896 Posted: Thu Mar 31 19:14:27 1983 Received: Thu Mar 31 19:14:27 1983 >From page 197 of Kernighan+Ritchie: "The language does not restrict the types of things that are declared as fields, but implementations are not required to support any but integer fields..." ...and most don't. This is obviously a place where the compiler your lint is based on is not quite the same one you get from cc. I'm afraid it's macro-defining time. This is just as well if you are trying to write portable code, as C compilers have a tendency towards bugs in bitfield handling. Dennis Ritchie himself has described bitfields as "a botch and a blemish". Henry Spencer U of Toronto