This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
tempnam & mkstemp
- From: Yvonne Becherini <Yvonne dot Becherini at bo dot infn dot it>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sun, 12 Jan 2003 14:16:15 +0000 (UTC)
- Subject: tempnam & mkstemp
Hallo all,
do you know what can I do with to avoid the following error?
/usr/gcc/2.95.3/lib/gcc-lib/i386-redhat-linux/2.95.3/libg2c.a(open.o): In function `f_open':
open.o(.text+0x4ca): the use of `tempnam' is dangerous, better use `mkstemp'
Thanks
Yvonne B.
--
**************************************************
Yvonne Becherini
Physics Department, University of Bologna and INFN
Viale Berti Pichat 6/2, I-40127 Bologna, Italy
Tel: +39 051 209 5234 Fax: +39 051 209 5269
http://www.bo.infn.it/~becherini/
e-mail Yvonne.Becherini@bo.infn.it
**************************************************