The information in this article applies to:
SYMPTOMSCompiling and linking code that contains a DATA statement that uses an implied DO-loop to initialize an array in a COMMON block and that implied DO-loop initializes beyond the end of the array may cause the following linker error:
CAUSEThe compiler is not issuing an error message when the DATA beyond the end of the array is being allocated. This causes the object module to contain data initialized past the end of the COMMON block and crossing a segment bound. RESOLUTION
Make sure that all DATA statement initializations of data in COMMON blocks
are within the bounds of the data as declared.
MORE INFORMATIONThe following code can be used to demonstrate the problem. Sample Code
Additional query words: 5.10 nofps
Keywords : |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |