Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Shutting up a silly compiler warning
- X-seq: zsh-workers 9927
- From: Jos Backus <Jos.Backus@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Shutting up a silly compiler warning
- Date: Tue, 29 Feb 2000 10:56:03 +0100
- In-reply-to: <1000229083954.ZM17896@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Tue, Feb 29, 2000 at 08:39:54AM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <1000229083954.ZM17896@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Jos Backus <Jos.Backus@xxxxxxxxxxxxxxxx>
On Tue, Feb 29, 2000 at 08:39:54AM +0000, Bart Schaefer wrote:
> utils.o: In function `gettempname':
> utils.o(.text+0x1bfa): warning: mktemp() possibly used unsafely; consider
> using mkstemp()
Some more info: ld emits this warning (in ldmain.c(warning_callback), it looks
like) because lib/libc/stdio/mktemp.c contains
__warn_references(mktemp,
"warning: mktemp() possibly used unsafely; consider using mkstemp()");
I don't see a way to suppress these offhand.
--
Jos Backus _/ _/_/_/ "Reliability means never
_/ _/ _/ having to say you're sorry."
_/ _/_/_/ -- D. J. Bernstein
_/ _/ _/ _/
Jos.Backus@xxxxxxxxxxxxxxxx _/_/ _/_/_/ use Std::Disclaimer;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author