BUG: Missing Structure Element Declaration, BSESUB.FD

ID: Q75198


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, versions 5.0, 5.1
  • Microsoft FORTRAN for OS/2, versions 5.0, 5.1


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 :
Version : :5.0,5.1
Platform :
Issue type :


Last Reviewed: November 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.