Red Hat Bugzilla – Bug 21426
Strange warning in g77
Last modified: 2007-04-18 12:30:03 EDT
After installing the new glibc (RHBA-2000:079-08) , fortran programs give a
strange warning at compile time.
Any program like
Will compile saying
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/libg2c.a(open.o): In function
>open.o(.text+0x4e6): the use of `tempnam' is dangerous, better use
>Compilation finished at Tue Nov 28 15:31:37
Thomas A. Poulsen
Dpt. of Solid Mech.
Tech. Univ. of Denmark
libf2c uses tempnam internally and glibc warns about uses of this function
during link time.
gcc-g77-2.96-65 will include Toon Moene's fix for this.
*** Bug 21898 has been marked as a duplicate of this bug. ***