Microsoft KB Archive/75198

= BUG: Missing Structure Element Declaration, BSESUB.FD =

Article ID: 75198

Article Last Modified on 12/1/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1

-



This article was previously published under Q75198



SYMPTOMS
Programs which use the BSESUB.FI and BSESUB.FD include files, in addition to the VIOGETCONFIG function, may generate the following error message:

error F2745: CB : I/O of entire structures illegal



CAUSE
The include file BSESUB.FD is missing an element within the VIOCONFIGINFO structure declaration.



RESOLUTION
The include file BSESUB.FD defines the VIOCONFIGINFO structure as follows: STRUCTURE /VIOCONFIGINFO/ INTEGER*2 adapter INTEGER*2 display INTEGER*4 cbMemory END STRUCTURE The corresponding include file BSESUB.FI defines VIOCONFIGINFO differently, as follows: STRUCTURE /VIOCONFIGINFO/ INTEGER*2 cb     INTEGER*2 adapter INTEGER*2 display INTEGER*4 cbMemory END STRUCTURE The structure definition in BSESUB.FD should be modified to match the definition in BSESUB.FI.



STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN versions 5.0 and 5.1 for MS-DOS and OS/2.

This is not a problem in FORTRAN PowerStation.

Additional query words: 5.00 nofps 5.10

Keywords: KB75198

-

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

© Microsoft Corporation. All rights reserved.