public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3992] New: stdlib/fmtmsg.c: missing stdint.h include
@ 2007-02-07 14:19 aurelien at aurel32 dot net
2007-02-07 17:00 ` [Bug libc/3992] " drepper at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: aurelien at aurel32 dot net @ 2007-02-07 14:19 UTC (permalink / raw)
To: glibc-bugs
stdlib/fmtmsg.c is using a uint32_t type, but does not include stdint.h. This
make the glibc to fail to build on Hurd. On other architectures, I guess
stdint.h is included by one of the architecture specific headers.
The patches below fixes the problem:
Index: stdlib/fmtmsg.c
===================================================================
RCS file: /cvs/glibc/libc/stdlib/fmtmsg.c,v
retrieving revision 1.20
diff -u -d -p -r1.20 stdlib/fmtmsg.c
--- stdlib/fmtmsg.c 15 May 2006 18:41:18 -0000 1.20
+++ stdlib/fmtmsg.c 7 Feb 2007 14:06:37 -0000
@@ -20,6 +20,7 @@
#include <fmtmsg.h>
#include <bits/libc-lock.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syslog.h>
--
Summary: stdlib/fmtmsg.c: missing stdint.h include
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: i686-unknown-gnu0.3
GCC host triplet: i686-unknown-gnu0.3
GCC target triplet: i686-unknown-gnu0.3
http://sourceware.org/bugzilla/show_bug.cgi?id=3992
------- 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] 2+ messages in thread
* [Bug libc/3992] stdlib/fmtmsg.c: missing stdint.h include
2007-02-07 14:19 [Bug libc/3992] New: " aurelien at aurel32 dot net
@ 2007-02-07 17:00 ` drepper at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2007-02-07 17:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-02-07 17:00 -------
I've said multiple times that the correct thing to do is to mimic what the other
archs do and include the same headers. Otherwise there will always be these
kind of problems.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=3992
------- 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] 2+ messages in thread
end of thread, other threads:[~2012-02-28 3:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-3992-131@http.sourceware.org/bugzilla/>
2012-02-28 3:36 ` [Bug libc/3992] stdlib/fmtmsg.c: missing stdint.h include carlos at systemhalted dot org
2007-02-07 14:19 [Bug libc/3992] New: " aurelien at aurel32 dot net
2007-02-07 17:00 ` [Bug libc/3992] " 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).