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]
Other format: [Raw text]

Re: [Ada] Can't build revision 112801 of gcc trunk on cygwin: ada/env.c:312: undefined reference to `_clearenv'


> gcc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes     -fno-common   -DHAVE_CONFIG_H -I. -Iada
> -I../../gcc/gcc -I../../gcc/gcc/ada -I../../gcc/gcc/../include
> -I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
> -I../libdecnumber    ../../gcc/gcc/ada/env.c -o ada/env.o
> ../../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.

Arno


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