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: tmpnam and mkstemp


habib <hkrit@openave.com> writes:

> I get this surprising diagnostic:
> 
>      the use of `tmpnam' is dangerous, better use `mkstemp'
> 
> when compiling code that uses the ANSI-C function tmpnam()
> with gcc 2.95.2 on redhat 7.  I did not use to get this diagnostic
> with egcs 1.1.2.
> 
> Is anybody else experiencing this?  What might be causing it?

the linker, it's an information to let you know to use more secure tmp
functions. 

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel

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