[Info-vax] VSI Community License Program - x86
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Tue Apr 11 09:19:54 EDT 2023
On 2023-04-10, Arne Vajhøj <arne at vajhoej.dk> wrote:
> $ fortran/stand=f95 bill
>
> program bill
> ^
> %F90-W-WARNING, Fixed form source is an obsolescent feature in Fortran 95.
> at line number 1 in file DISK2:[ARNE]bill.for;1
>
> integer*4 hw(2), lbl
> ..............^
> %F90-W-WARNING, Fortran 95 does not allow this length specification. [4]
> at line number 2 in file DISK2:[ARNE]bill.for;1
>
> data hw/4hHi B,4hill!/
> ..............^
> %F90-W-WARNING, The Hollerith constant has been deleted from Fortran 95.
> [4HHi B]
> at line number 3 in file DISK2:[ARNE]bill.for;1
>
> data hw/4hHi B,4hill!/
> .....................^
> %F90-W-WARNING, The Hollerith constant has been deleted from Fortran 95.
> [4Hill!]
> at line number 3 in file DISK2:[ARNE]bill.for;1
>
> data hw/4hHi B,4hill!/
> ..............^
> %F90-W-WARNING, A character string or Hollerith string is non-standard
> in this context. [4HHi B]
> at line number 3 in file DISK2:[ARNE]bill.for;1
>
> data hw/4hHi B,4hill!/
> .....................^
> %F90-W-WARNING, A character string or Hollerith string is non-standard
> in this context. [4Hill!]
> at line number 3 in file DISK2:[ARNE]bill.for;1
>
> assign 100 to lbl
> ......^
> %F90-W-WARNING, The ASSIGN statement has been deleted in Fortran 95.
> at line number 4 in file DISK2:[ARNE]bill.for;1
>
> goto lbl
> ......^
> %F90-W-WARNING, The assign GO TO statement has been deleted in Fortran 95.
> at line number 5 in file DISK2:[ARNE]bill.for;1
> $ link bill
> %LINK-W-WRNERS, compilation warnings
> in module BILL file DISK2:[ARNE]bill.OBJ;4
> $ run bill
> Hi Bill!
>
These should all be -E- IMHO. If you want to write FORTRAN IV code, then
use a FORTRAN IV compiler, not a Fortran 95 compiler.
This is no different from people now using ANSI function definitions in C,
instead of those (horrible) K&R function definitions.
Another example is moving from VAX C to DEC C standards. You can't compile
half of a source file using /STANDARD=VAXC, and the other half of the same
file using a modern standard.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list