public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10281] New: <string.h> broken if __USE_GNU is defined
@ 2009-06-14 22:17 pasky at suse dot cz
2009-06-14 22:18 ` [Bug libc/10281] " pasky at suse dot cz
2009-06-15 1:47 ` drepper at redhat dot com
0 siblings, 2 replies; 4+ messages in thread
From: pasky at suse dot cz @ 2009-06-14 22:17 UTC (permalink / raw)
To: glibc-bugs
Trying to compile
#define __USE_GNU
#include <string.h>
fails with errors like:
/usr/include/string.h:546: error: expected declaration specifiers or '...'
before '__locale_t'
/usr/include/string.h:547: error: nonnull argument with out-of-range operand
number (argument 1, operand 3)
/usr/include/string.h:550: error: expected declaration specifiers or '...'
before '__locale_t'
/usr/include/string.h:551: error: nonnull argument with out-of-range operand
number (argument 1, operand 4)
<xlocale.h> with __locale_t is pulled in only for __USE_XOPEN2K8 but also is
needed for __USE_GNU.
--
Summary: <string.h> broken if __USE_GNU is defined
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: pasky at suse dot cz
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10281
------- 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/10281] <string.h> broken if __USE_GNU is defined
2009-06-14 22:17 [Bug libc/10281] New: <string.h> broken if __USE_GNU is defined pasky at suse dot cz
@ 2009-06-14 22:18 ` pasky at suse dot cz
2009-06-15 1:47 ` drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: pasky at suse dot cz @ 2009-06-14 22:18 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pasky at suse dot cz 2009-06-14 22:18 -------
Created an attachment (id=3995)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3995&action=view)
proposed patch
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10281
------- 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/10281] <string.h> broken if __USE_GNU is defined
2009-06-14 22:17 [Bug libc/10281] New: <string.h> broken if __USE_GNU is defined pasky at suse dot cz
2009-06-14 22:18 ` [Bug libc/10281] " pasky at suse dot cz
@ 2009-06-15 1:47 ` drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2009-06-15 1:47 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2009-06-15 01:47 -------
Nobody but <features.h> must define any of the __USE_* macros. Ever. Always
use the appropriate _*_SOURCE macros.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=10281
------- 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/10281] <string.h> broken if __USE_GNU is defined
[not found] <bug-10281-131@http.sourceware.org/bugzilla/>
@ 2014-07-01 16:37 ` fweimer at redhat dot com
0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01 16:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=10281
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-01 16:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-14 22:17 [Bug libc/10281] New: <string.h> broken if __USE_GNU is defined pasky at suse dot cz
2009-06-14 22:18 ` [Bug libc/10281] " pasky at suse dot cz
2009-06-15 1:47 ` drepper at redhat dot com
[not found] <bug-10281-131@http.sourceware.org/bugzilla/>
2014-07-01 16:37 ` fweimer 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).