[M3devel] Could not find a legal alignment for the packed type?

Jay K jay.krell at cornell.edu
Sat Jul 3 17:13:20 CEST 2010


"../I386_LINUX/bitfield.m3", line 16078: Could not find a legal alignment for the packed type.


<*NOWARN*>TYPE BitField_offset63_count1 = RECORD
 offset:BITS 63 FOR  [0L .. Long.RightShift(Long.Not(0L), 1)];
 value:BITS 1 FOR  [0L .. Long.RightShift(Long.Not(0L), 63)];
END;



? Does that make sense?

Obviously? the record contains one LONGINT broken up into a 1 bit field and a 63 bit field.

I'll try removing the "BITS FOR".

  - Jay
 		 	   		  


More information about the M3devel mailing list