From: lionel@quark.zko.dec.com (Steve Lionel)
Subject: Re: F77 4.0: Is this warning correct?
Date: 1996/08/26 [thread overview]
Message-ID: <4vsc4j$9qs@nntpd.lkg.dec.com> (raw)
In-Reply-To: 4vki6o$c0@pt9201.ped.pto.ford.com
In article <4vki6o$c0@pt9201.ped.pto.ford.com>, patteeuw@sys2.ped.pto.ford.com
(Jack Patteeuw) writes:
|>> f77 -warn argument_checking -c x.f
|>>fort: Warning: x.f, line 10: Actual argument data type ( Unknown ) not equal
|>to routine's dummy argument type ( Integer*4 ).
|>> CALL ONE(S,LEN(S))
|>
|>You may have found a bug here. Your code compiles cleanly on VMS and
|>the compiler should know that the LEN function does return Integer*4.
As I mentioned in my earlier posting, the only bug is the "Unknown" in the
message. LEN returns INTEGER*8 in the current version (4.0 on UNIX, 7.0
on VMS.) You'll get the same message using 7.0 on OpenVMS Alpha. (The VAX
compiler doesn't have /WARN=ARGUMENT_CHECKING).
--
Steve Lionel mailto:lionel@quark.zko.dec.com
Fortran Development http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/
next prev parent reply other threads:[~1996-08-26 4:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-22 4:00 F77 4.0: Is this warning correct? Rob Hooft
1996-08-23 4:00 ` Jack Patteeuw
1996-08-26 4:00 ` Steve Lionel [this message]
1996-08-23 4:00 ` Steve Lionel
1996-08-27 4:00 ` Clive Page
1996-08-28 4:00 ` Steve Lionel
1996-08-23 4:00 ` Steve Lionel
1996-08-27 4:00 ` Allan E Johannesen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox