Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!encore!xylogics!barnes
From: barnes@Xylogics.COM (Jim Barnes)
Newsgroups: comp.unix.questions
Subject: lint problem with bit fields?
Message-ID: <6908@xenna.Xylogics.COM>
Date: 14 Aug 89 21:07:28 GMT
Sender: news@Xylogics.COM
Reply-To: barnes@Xylogics.COM (Jim Barnes)
Distribution: usa
Organization: Xylogics, Inc., Burlington MA
Lines: 19


I am trying to run lint on some software that I have inherited and 
have run into a problem with some structures containing bit fields.
Whenever lint encounters one of the bit fields, it gives an error
"illegal field type".  The only way I have discovered to get around
this error is to conditionally (#ifdef-#else-#endif) define the 
bit fields and then run lint with a flag that does not define any
of the bit fields.

Question:  Is there some other way to get lint to accept bit fields?
	    (We are running SUN OS 4.0.)

Please respond via email.

Thanks in advance for your help.


----
  Jim Barnes (barnes@Xylogics.COM)