Re: In function `MAIN__' : undefined reference to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



zhu wang wrote:

But I got the following error. What should I do?


f77 -o uneqm UNEQM.FOR UNEQM.FOR: In subroutine `optif': UNEQM.FOR:62: warning: call optif(nr,np,p,uneq,typx,typf,msg,ndigit,itnlim,ipr, 1 UNEQM.FOR:1397: (continued): SUBROUTINE OPTIF(NR,N,X,FCN,TYPSIZ,FSCALE,MSG,NDIGIT,ITNLIM,IPR, 2 Argument #15 (named `fpls') of `optif' is one precision at (2) but is some other precision at (1) [info -f g77 M GLOBALS]

That's not an error, that's a warning. However, it might *point* at an error: If "fpls" in routine "optif" is DOUBLE PRECISION while the corresponding argument in "call optif" is not, you would get this warning. This might be a serious error in your code.


--
Toon Moene - mailto:toon@xxxxxxxxxxxxxxxxxxxx - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux