FIX: FORTRAN Err Msg: F2348: Already Declared SAVE

ID: Q48624

5.00 | 5.00 MS-DOS | OS/2 kbprg kberrmsg kbappnote kbbuglist kbfixlist

The information in this article applies to:

SYMPTOMS

In Microsoft FORTRAN version 5.0, when attempting to use the SAVE statement on any item more than twice in the same source file, the following error message may be generated:

   F2348:  a:  already declared SAVE

STATUS

This problem has been corrected with an application note, which is available from Microsoft Product Support Services. The application note is titled "FORTRAN 5.0 F1.EXE and F1L.EXE Structure Patch."

This file has been removed from the Software Library but can be requested by calling Microsoft Product Support Services.

This problem was corrected with Microsoft FORTRAN version 5.1.

MORE INFORMATION

Sample Code #1

c The following example program generates the F2348 error c when compiled with Microsoft FORTRAN version 5.0

         subroutine a
         common /name/ d
         save /name/
         end

         subroutine b
         common /name/ d
         save /name/
         end

         subroutine c
         common /name/ d
         save /name/
         end

Additional reference words: 5.00 5.10 HF0225 KBCategory: kbprg kberrmsg kbbuglist kbappnote kbfixlist KBSubcategory: FORTLngIss Solution Type : kbfix

Last Reviewed: April 30, 1998