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
* [Bug other/39062] libssp/ssp.c needs malloc.h for mingw
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 ` sezeroz at gmail dot com
2009-02-21 9:50 ` ktietz at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sezeroz at gmail dot com @ 2009-02-01 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sezeroz at gmail dot com 2009-02-01 16:47 -------
Created an attachment (id=17221)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17221&action=view)
libssp alloca patch for mingw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39062
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/39062] libssp/ssp.c needs malloc.h for mingw
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
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-02-21 9:50 UTC (permalink / raw)
To: gcc-bugs
--
ktietz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-02-21 09:50:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39062
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/39062] libssp/ssp.c needs malloc.h for mingw
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
4 siblings, 0 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2009-03-14 15:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from nightstrike at gmail dot com 2009-03-14 15:49 -------
http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00636.html
--
nightstrike at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nightstrike at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39062
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/39062] libssp/ssp.c needs malloc.h for mingw
2009-02-01 16:46 [Bug other/39062] New: libssp/ssp.c needs malloc.h for mingw sezeroz at gmail dot com
` (2 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-04-13 10:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ktietz at gcc dot gnu dot org 2009-04-13 10:37 -------
Subject: Bug 39062
Author: ktietz
Date: Mon Apr 13 10:37:17 2009
New Revision: 146000
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146000
Log:
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR target/39062
* ssp.c: Also include malloc.h for alloca(). MinGW needs it.
* configure.ac: Also check for malloc.h.
* configure: Regenerated.
* config.h.in: Regenerated.
Modified:
trunk/libssp/ChangeLog
trunk/libssp/config.h.in
trunk/libssp/configure
trunk/libssp/configure.ac
trunk/libssp/ssp.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39062
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/39062] libssp/ssp.c needs malloc.h for mingw
2009-02-01 16:46 [Bug other/39062] New: libssp/ssp.c needs malloc.h for mingw sezeroz at gmail dot com
` (3 preceding siblings ...)
2009-04-13 10:37 ` ktietz at gcc dot gnu dot org
@ 2009-04-13 10:38 ` ktietz at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-04-13 10:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ktietz at gcc dot gnu dot org 2009-04-13 10:38 -------
Applied to 4.5 at revision 146000.
--
ktietz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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).