[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1213.0. "V4.1 problems: 1) no "declared but not used" 2) what's "fort: Warning: No value"" by HYDRA::NEWMAN (Chuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26) Thu Mar 06 1997 11:32

      subroutine stuff
c
c environment:  Digital Fortran 77 V4.1-92 on Digital UNIX V4.0A
c
c Problem 1:  compiling with "-warn all" doesn't say that MXSPEC isn't used
c
c Problem 2:  f77 generates a message "fort: Warning: No value"
c             Any idea what this means?  The listing file doesn't help either.
c
      INTEGER MXSPEC
      PARAMETER ( MXSPEC = 50 )
      INTEGER NREACT
      COMMON /SPECSZ/ PSTOIC, NREACT
      REAL STOICH(1:NREACT,50)
      POINTER (PSTOIC,STOICH)
      CALL RPLIST( STOICH )
      RETURN
      END
T.RTitleUserPersonal
Name
DateLines
1213.1QUARK::LIONELFree advice is worth every centThu Mar 06 1997 13:176
We don't warn for unused PARAMETER constants, only variables.

The "no value" message is erroneous and seems to be fixed in later compilers
(it doesn't give that message using the 7.1 VMS compiler).

				Steve