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

 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 a member name it is looking
                for declared at the same offset but with different
                types 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