HELPLIB.HLB  —  CC  Messages  MIXALLOCAVLA
 Message        <Context> this call to __ALLOCA occurs in a block
                that contains <vlaallocafrag1>.  The storage
                allocated by this __ALLOCA call will
                <vlaallocafrag2>vla or aligned automatic declaration
                was at <where>.

 Description    Storage allocated for arrays of variable length and
                for automatics whose alignment is greater than
                octaword have their storage deallocated when the
                block they are declared in exits.  Storage allocated
                by __ALLOCA is not normally deallocated until
                function exit.  HP C cannot support both types of
                deallocation in the same block.  Therefore, when both
                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 or the aligned auto.
Close Help