This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Can't build revision 112801 of gcc trunk on cygwin: ada/env.c:312: undefined reference to `_clearenv'
- From: "Christian Joensson" <christian dot joensson at gmail dot com>
- To: "Arnaud Charlet" <charlet at adacore dot com>
- Cc: "GCC Development" <gcc at gcc dot gnu dot org>, "Nicolas Roche" <roche at adacore dot com>, "Eric Botcazou" <ebotcazou at adacore dot com>
- Date: Sun, 9 Apr 2006 13:00:40 +0200
- Subject: Re: [Ada] Can't build revision 112801 of gcc trunk on cygwin: ada/env.c:312: undefined reference to `_clearenv'
- References: <5460e3330604090109j435a0fa2p556216d28aa7c97b@mail.gmail.com> <20060409093556.GB88916@adacore.com>
On 4/9/06, Arnaud Charlet <charlet@adacore.com> wrote:
> > ../../gcc/gcc/ada/env.c: In function `__gnat_clearenv':
> > ../../gcc/gcc/ada/env.c:312: warning: implicit declaration of function
> > `clearenv'
> It likely means that clearenv is not available in cygwin and you need
> to add proper #ifdefs in env.c to avoid using it.
right, or maybe an autoconf check for it?
--
Cheers,
/ChJ