comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Johnson <mark_h_johnson@raytheon.com>
Subject: Re: compile warning
Date: Fri, 25 May 2001 08:44:43 -0500
Date: 2001-05-25T08:44:43-05:00	[thread overview]
Message-ID: <3B0E61CB.55F11006@raytheon.com> (raw)
In-Reply-To: 3B0C4EDD.A8487A63@oek.dk

"Peter I. Hansen" wrote:

> Hello I get the following warning when compiling with gnatmake :
>
> /usr/local/lib/gcc-lib/i386-unknown-freebsd4.3/2.8.1/adalib//libgnat.so:
> warning: mktemp() possibly used unsafely; consider using mkstemp()
>
> I'm on a FreeBSD 4.3.
> What can I do about this ?
>
> /Peter

Ignore it.

This particular problem w/ GNAT has already been reported to them. They do
expect to fix it in a future release of the product. I am running with a
recent "wavefront" (developmental release) on Linux, and get similar
warning messages from the linker.

From reviewing the code - there are several functions that refer to mktemp
or tmpnam and similar items. As far as I can tell - none of them are used
by the run time library unless you explicitly call them yourself.
  --Mark




      parent reply	other threads:[~2001-05-25 13:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 23:59 compile warning Peter I. Hansen
2001-05-24  0:21 ` Aron Felix Gurski
2001-05-24 15:06 ` Florian Weimer
2001-05-25 11:19 ` Jacob Sparre Andersen
2001-05-25 13:41   ` Peter I. Hansen
2001-05-25 15:54     ` Jacob Sparre Andersen
2001-05-26  9:51       ` Pascal Obry
2001-05-25 11:19 ` Jacob Sparre Andersen
2001-05-25 13:44 ` Mark Johnson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox