libssp only checks for alloca.h header for alloca(), but mingw headers define it in malloc.h. this results in the following warning: ../../../gcc-svn/libssp/ssp.c: In function 'fail': ../../../gcc-svn/libssp/ssp.c:109: warning: implicit declaration of function 'alloca' ../../../gcc-svn/libssp/ssp.c:109: warning: incompatible implicit declaration of built-in function 'alloca'
Atached patch fixes it. -- Summary: libssp/ssp.c needs malloc.h for mingw Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sezeroz at gmail dot com GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39062