PRB: No Error Generated Initializing Named Common Block ObjectLast reviewed: April 26, 1996Article ID: Q150146 |
The information in this article applies to:
SYMPTOMSThe compiler does not generate an error or warning message when you initialize a named common block object in a type statement outside of a block data subprogram.
RESOLUTIONUse the /4Ys compiler option to enable strict FORTRAN 90 standard usage, and force the compiler to catch the assignment of the named common block in a type statement outside a block data subprogram.
STATUSThis behavior is by design.
MORE INFORMATION
Sample Code to Illustrate Behavior! Compile options needed: none
INTEGER I /1/ COMMON /TheBlock/ I PRINT *, 'Initializing Common Block Object...' END |
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |