public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3301] New: compile error at linux/stddef.h:14 - 'true' defined
@ 2006-10-04 15:29 ebuddington at wesleyan dot edu
2006-10-04 21:00 ` [Bug libc/3301] " drepper at redhat dot com
2006-10-04 22:40 ` ebuddington at wesleyan dot edu
0 siblings, 2 replies; 3+ messages in thread
From: ebuddington at wesleyan dot edu @ 2006-10-04 15:29 UTC (permalink / raw)
To: glibc-bugs
Under linux-2.6.18-mm2, linux/stddef contains the following:
enum { false = 0, true = 1 };
Compiling getdents.c (using gcc-4.1.1) fails with the error:
/usr/local/include/linux/stddef.h:14: error: expected identifier before numeric
constant
Repeating the failed gcc invocation with -E shows me
# 13 "/usr/local/include/linux/stddef.h" 3
enum {
0 = 0,
1 = 1
};
I can't find where 'true' and 'false' are #defined, as I presume they are. If
this isn't a glibc bug, I'd appreciate thoughts on where the problem lies.
--
Summary: compile error at linux/stddef.h:14 - 'true' defined
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: ebuddington at wesleyan dot edu
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=3301
------- 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] 3+ messages in thread
* [Bug libc/3301] compile error at linux/stddef.h:14 - 'true' defined
2006-10-04 15:29 [Bug libc/3301] New: compile error at linux/stddef.h:14 - 'true' defined ebuddington at wesleyan dot edu
@ 2006-10-04 21:00 ` drepper at redhat dot com
2006-10-04 22:40 ` ebuddington at wesleyan dot edu
1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2006-10-04 21:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2006-10-04 21:00 -------
And what has this to do with glibc?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=3301
------- 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] 3+ messages in thread
* [Bug libc/3301] compile error at linux/stddef.h:14 - 'true' defined
2006-10-04 15:29 [Bug libc/3301] New: compile error at linux/stddef.h:14 - 'true' defined ebuddington at wesleyan dot edu
2006-10-04 21:00 ` [Bug libc/3301] " drepper at redhat dot com
@ 2006-10-04 22:40 ` ebuddington at wesleyan dot edu
1 sibling, 0 replies; 3+ messages in thread
From: ebuddington at wesleyan dot edu @ 2006-10-04 22:40 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From ebuddington at wesleyan dot edu 2006-10-04 22:40 -------
(In reply to comment #1)
> And what has this to do with glibc?
It is a failure of glibc-2.4 to compile with linux kernel 2.6.18-mm1.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3301
------- 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] 3+ messages in thread
end of thread, other threads:[~2006-10-04 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-04 15:29 [Bug libc/3301] New: compile error at linux/stddef.h:14 - 'true' defined ebuddington at wesleyan dot edu
2006-10-04 21:00 ` [Bug libc/3301] " drepper at redhat dot com
2006-10-04 22:40 ` ebuddington at wesleyan dot edu
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).