[comp.unix.questions] lint problem with bit fields?

barnes@Xylogics.COM (Jim Barnes) (08/15/89)

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)