public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/39062]  New: libssp/ssp.c needs malloc.h for mingw
@ 2009-02-01 16:46 sezeroz at gmail dot com
  2009-02-01 16:47 ` [Bug other/39062] " sezeroz at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sezeroz at gmail dot com @ 2009-02-01 16:46 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-13 10:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 16:46 [Bug other/39062] New: libssp/ssp.c needs malloc.h for mingw sezeroz at gmail dot com
2009-02-01 16:47 ` [Bug other/39062] " sezeroz at gmail dot com
2009-02-21  9:50 ` ktietz at gcc dot gnu dot org
2009-03-14 15:49 ` nightstrike at gmail dot com
2009-04-13 10:37 ` ktietz at gcc dot gnu dot org
2009-04-13 10:38 ` ktietz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).