/sys$common/syshlp/helplib.hlb
CC, Messages, MIXALLOCAVLA

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

 Message        <Context> this call to __ALLOCA occurs in a block
                that contains a variable-length array declaration.
                The storage allocated by this __ALLOCA call
                will<fragment>vla declaration was at <where>.

 Description    Storage allocated for arrays of variable length have
                their storage deallocated when the block they are
                declared in exits.  Storage allocated by __ALLOCA is
                not normally deallocated until function exit.  Compaq
                C cannot support both types of deallocation in the
                same block.  Therefore, when both a vla array and an
                __ALLOCA call appear in the same block, the storage
                for both will be deallocated with the block exits.

 User Action    Be aware of this.  If the storage allocated for
                __ALLOCA must remain allocated until function exit,
                move the __ALLOCA call outside the block declaring
                the vla array.
  Close     HLB-list     TLB-list     Help  

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