HP 3000 Manuals

Data Alignment [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation


HP C Programmer's Guide

Data Alignment 

The HP 9000 Series 700/800 is stricter than other machines with respect
to data alignment.  Misaligned data addresses cause bus errors when
attempting to dereference them.  Use the +w1 option when compiling to
report occurrences of "Casting from loose to strict alignment." Fix
occurrences that result from using the address of a more loosely aligned
item (such as char) to access a more strictly aligned item (such as int).



MPE/iX 5.0 Documentation