public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5428] New: malloc.h fails to build in some cases
@ 2007-11-28 23:04 aurelien at aurel32 dot net
  2007-11-28 23:05 ` [Bug libc/5428] " aurelien at aurel32 dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2007-11-28 23:04 UTC (permalink / raw)
  To: glibc-bugs

Consider the simple program below:

---
#define _XOPEN_SOURCE
#include <wchar.h>
#include <malloc.h>
---

It fails to compile:
In file included from test.c:3:
/usr/include/malloc.h:85: error: expected &#8216;)&#8217; before &#8216;__size&#8217;
/usr/include/malloc.h:88: error: expected &#8216;)&#8217; before &#8216;__size&#8217;


Patch will follow shortly

-- 
           Summary: malloc.h fails to build in some cases
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/5428] malloc.h fails to build in some cases
  2007-11-28 23:04 [Bug libc/5428] New: malloc.h fails to build in some cases aurelien at aurel32 dot net
@ 2007-11-28 23:05 ` aurelien at aurel32 dot net
  2007-11-29 10:29 ` aurelien at aurel32 dot net
  2007-12-10  2:30 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2007-11-28 23:05 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2007-11-28 23:04 -------
Created an attachment (id=2115)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2115&action=view)
Patch to fix the problem.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/5428] malloc.h fails to build in some cases
  2007-11-28 23:04 [Bug libc/5428] New: malloc.h fails to build in some cases aurelien at aurel32 dot net
  2007-11-28 23:05 ` [Bug libc/5428] " aurelien at aurel32 dot net
@ 2007-11-29 10:29 ` aurelien at aurel32 dot net
  2007-12-10  2:30 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2007-11-29 10:29 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2007-11-29 10:29 -------
Created an attachment (id=2116)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2116&action=view)
Second version of the patch to fix the problem

This new patch also define __need_NULL as without that a lot of programs fails
to build.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #2115 is|0                           |1
           obsolete|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=5428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/5428] malloc.h fails to build in some cases
  2007-11-28 23:04 [Bug libc/5428] New: malloc.h fails to build in some cases aurelien at aurel32 dot net
  2007-11-28 23:05 ` [Bug libc/5428] " aurelien at aurel32 dot net
  2007-11-29 10:29 ` aurelien at aurel32 dot net
@ 2007-12-10  2:30 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2007-12-10  2:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-12-10 02:29 -------
The patch is very wrong.  I've checked in a correct one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2007-12-10  2:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-28 23:04 [Bug libc/5428] New: malloc.h fails to build in some cases aurelien at aurel32 dot net
2007-11-28 23:05 ` [Bug libc/5428] " aurelien at aurel32 dot net
2007-11-29 10:29 ` aurelien at aurel32 dot net
2007-12-10  2:30 ` drepper at redhat dot com

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).