Library /sys$common/syshlp/HELPLIB.HLB  —  CC  Messages  BADREGISTER
 Message        <Context> "<name>" has register storage class, but
                occurs in a context that precludes register storage.
                The storage class has been changed to auto.

 Description    An object that was declared with register storage
                class has been referenced in a way that is not valid
                for a register.  The most common example is taking
                the address of an object declared with register
                storage class.  As certain array accesses also
                require taking the address of an array, this message
                can also be output for accessing the element of an
                array declared with register storage class.  The
                compiler will change the storage class from register
                to auto.

 User Action    Either remove the register storage class from the
                declaration, or change the reference to be one that
                is valid for objects with register storage class.
Close Help