This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: old fortran code, g77 options?


>>>>> "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.]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]