VMS Help  —  CC  Messages  ALIGNCONFLICT
 Message        <Context> the address "<expr>" has alignment of
                <align> which is less than the alignment requirements
                of the destination pointer.  Dereferencing the
                destination pointer may cause an alignment fault.

 Description    The compiler has detected a situation where a pointer
                to an aligned data type is being assigned an address
                that may not be properly aligned.  A later
                dereference of this pointer could cause an alignment
                fault.

 User Action    There are a number of possible actions.  The best is
                to correct the condition that is causing the source
                to have the wrong alignment, as access to an
                unaligned data structure involves additional run-time
                overhead.  Other options would be to modify the
                declaration of the destination pointer such that its
                referenced type has the __unaligned type qualifier,
                or use the compiler option that tells the compiler to
                assume all pointer references are unaligned.  It is
                also possible to cast the source to the destination
                type to silence this message.  However, that solution
                will not correct any unaligned access.
Close Help