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]

emutls.c: warnings on master


Hi

I saw these warnings in the build of some RTEMS targets on
the gcc head.

/home/joel/test-gcc/gcc/libgcc/emutls.c:159:7: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
/home/joel/test-gcc/gcc/libgcc/emutls.c:159:13: warning: incompatible implicit declaration of built-in function 'calloc'
/home/joel/test-gcc/gcc/libgcc/emutls.c:171:7: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
/home/joel/test-gcc/gcc/libgcc/emutls.c:171:13: warning: incompatible implicit declaration of built-in function 'realloc'

What magic is needed so emutls.c includes <stdlib.h>?

--joel


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