This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: old fortran code, g77 options?
- To: Andrew Hutchinson <andrewh at rw dot usuf2 dot usuhs dot mil>
- Subject: Re: old fortran code, g77 options?
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 26 Jun 1998 12:55:35 +0100
- Cc: egcs at cygnus dot com
- References: <359279EA.B54FBED2@rw.usuf2.usuhs.mil>
>>>>> "AH" == Andrew Hutchinson <andrewh@rw.usuf2.usuhs.mil> writes:
AH> How do I avoid this complaint:
AH> make -k
AH> g77 -fno-globals -Wno-globals ortep.f -o ortep
AH> ortep.f: In program `MAIN__':
AH> ortep.f:224:
AH> COSTH=DCOS(T1)
AH> ^
AH> Reference to intrinsic `DCOS' at (^) invalid -- one or more arguments
AH> have incorrect type
Either provide DCOS with the correct kind of argument (see the g77
manual) or use COS instead. I suspect you should look for a newer
version of ortep, BTW. [I'm not sure the egcs list is the right place
for basic fortran questions.]