Microsoft KB Archive/124951

= BUG: F2374: Incorrect Reference of the Error in BLOCK DATA =

Article ID: 124951

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft FORTRAN PowerStation 1.0 Standard Edition
 * Microsoft Fortran PowerStation 1.0a for MS-DOS
 * Microsoft FORTRAN PowerStation 32

-



This article was previously published under Q124951



SYMPTOMS
An attempt to multiply initialize a data, in a BLOCK DATA program unit causes the compiler to issue the F2374 error message below in the wrong location.

error F2374: 'symbol' redefinition; multiple initialization



STATUS
Microsoft has confirmed this to be a bug in the products listed above. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
The following code demonstrates the problem. The error F2374 is reported on the end statement of the first routine in the file, rather than the block data where the error occurred. This is true regardless of the relative positions or other intervening routines.

Sample Code
C Compile options needed: none

subroutine y write(*,*) 'cat' end

block data initerr common /errz/ nerr data nerr /0/, nerr /1/ end

Additional query words: 1.00 1.00a

Keywords: KB124951

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.