This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: numerical recipes compile question / resolved
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are PR 18108 and 16940 and 19561 related? shouldn't this be documented?
Cheers,
Carsten
- --- Paul Thomas wrote --------
I believe that the problem goes back a way and is related to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 .
The fix given there works in your case too - comment out the IMPLICIT NONE
in the second line and your get rid of the no implicit type message and
pick up four correct warnings about the functions not returning values.
Adding a small test programme demonstrates that the module works...... as
long as you do not return an outerdiff(a,b) result to a temporary. See below
and PR19561.
Paul T
|
| Martin Reinecke wrote:
| | Hi!
| |
| | > This looks suspiciously like PR fortran/18108. This is a very
| | long-standing
| | > problem, and obviously not easy to fix :(
| |
| | Sorry, just saw that you are obviously aware of that PR :)
| | So, do you think this is a different problem?
| |
| | Cheers,
| | Martin
| |
| |
|
| --
| **********************************************
| Carsten Lemmen
|
| Forschungszentrum Jülich GmbH
| Institut für Chemie und Dynamik der Geosphäre
| ICG-I: Stratosphäre
| 52425 Jülich
| Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFB9mAN9OR+vL2Y8M8RAsawAKCiWrJEofwLhvLcU1tAHdigwt8uOgCePHQ7
TZQVKK6L5h0KmkQCMKzeLRo=
=wRJL
-----END PGP SIGNATURE-----