BUG: Missing Structure Element Declaration, BSESUB.FD (75198)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 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.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB75198 |
---|
|