Date: Sun, 26 Mar 2000 20:52:05 -0500 (EST) From: aa8vb@ipass.net To: FreeBSD-gnats-submit@freebsd.org Cc: aa8vb@ipass.net Subject: bin/17611: f77 man page needs updated Message-ID: <200003270152.UAA35795@stealth.ipass.net.>
next in thread | raw e-mail | index | archive | help
>Number: 17611
>Category: bin
>Synopsis: f77 man page needs updated
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 26 17:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Randall Hopper
>Release: FreeBSD 3.4-RELEASE i386
>Organization:
self
>Environment:
Stock 3.4-RELEASE
>Description:
f77(1) says "From the user side of view this FORTRAN to C
translation is completely transparent - f77 looks like a
traditional FORTRAN compiler."
However, pop this in a file:
SUBROUTINE XMDF2T(APARM)
IMPLICIT DOUBLE PRECISION(A)
INTEGER INT1
DATA FR/0D0/
INTEGER INT2
99998 END
and compile using "f77 -c tst.f":
Error on line 5 of tst.f: Statement order error: declaration after DATA
f77 compilers will eat this, but f2c will not. This is briefly
mentioned in f2c.ps.
>How-To-Repeat:
See above.
This is causing me major grief trying to cook a FreeBSD port for
the FeatFlow CFD package (www.featflow.de). I realize f2c isn't
under our control. Therefore the man page should at least be
updated with caveats.
>Fix:
Please update man page with caveats of use resulting from using f2c
over a FORTRAN compiler. Thanks.
Note: f77 and f2c from ports generates the same behavior, so the
f77 port man page should probably be updated as well.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003270152.UAA35795>
