The information in this article applies to:
SYMPTOMSThe MS FORTRAN 5.10 compiler can generate a Trap C protection violation under OS/2 or incorrect compiler errors under MS-DOS. The code which causes this problem contains an array of structures that is initialized in a DATA statement using an implied DO-loop. RESOLUTIONDo not use implied DO-loops in DATA statements with arrays of structures. Use assignment statements or read the data from a file. STATUSMicrosoft has confirmed this to be a problem in FORTRAN version 5.10. This problem was corrected in FORTRAN PowerStation, version 1.0. MORE INFORMATIONThe following code reproduces the problem. Under OS/2 it generates a Trap C with the following error text: Under MS-DOS it generates the following error:
Sample code
Additional query words: 5.10 buglist5.10 fixlist1.00
Keywords : |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |