VMS Help  —  CC  Messages  BADMEMOFF
 Message        <Context> multiple definitions of member "<name>"
                found with different offsets.

 Description    In certain modes, the compiler will allow a struct or
                union reference whose right operand is not a member
                of the struct or union type of the left operand.
                This is allowed for compatibility with other
                compilers.  However, in these cases the right operand
                must specify a member name that is declared with the
                same type and at the same offset in every struct or
                union type that declares it.  This message is issued
                when the compiler finds member name it is looking for
                declared with a different offset in more than one
                struct or union type.

 User Action    HP recommends that the left operand or a struct or
                union reference specify a member that is a member of
                the type of the struct or union specified by the
                right operand.  If this modification cannot be made
                then the member specified by the left operand must be
                declared at the same offset and with the same data
                type in all struct or union declarations that declare
                that member.
Close Help