jdm@hodge.UUCP (jdm) (04/22/89)
I am porting some code from a 32 bit machine (IBM PC/RT running AIX) to a 16 bit machine (IBM PC/AT running DOS and OS/2) and I have come across a problem with the size of bit fields. It seems bit fields longer than 16 bits are not supported on 16 bit machines. I was wondering what one does to port this code in a situation such as this? Would it be possible to change the bit fields to long int's? For example: int i:28; to long i; I don't care about the extra memory it would take up, but I am concerned about differences in referencing bits in a variable vs. referencing bits in a bit field. -- jdm@hodge.cts.com [uunet zardoz vdelta crash]!hodge!jdm James D. Murray, Ethnounixologist Hodge Computer Research Corporation 1588 North Batavia Street Orange, California 92667 USA TEL: (714) 998-7750 Ask for James FAX: (714) 921-8038 Wait for the carrier 3B1: (714) 998-1198 Login as 'guest'