VMS Help
CC, Messages, UNINIT5

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

 Message        <fragment uninit5a><inlineinfo>.  Also the variable
                itself is not initialized.  And there may be other
                fetches of this variable that have not been reported
                in this compilation.

 Description    The specified storage location has been used without
                being set.  This might not have been what you
                intended.  In addition, as this fetch is outside the
                storage allocated to the variable, the behavior is
                undefined.

 User Action    First verify that the fetch is correct(code that uses
                the address of a declared object to access memory
                outside the address range allocated to that object is
                not likely to be reliable).  Then initialize the
                storage being fetched and, if necessary, the variable
                noted in the message.  If you only provide a value
                for the use reported here, you may find that when you
                recompile your program another uninitialized use is
                detected, since the algorithms that detect this
                situation only report it once for a given variable,
                and not necessarily at the first use of the
                uninitialized value.  It is best to initialize
                variables as close as possible to the point of
                declaration.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.