This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10281] New: <string.h> broken if __USE_GNU is defined
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Jun 2009 22:17:10 -0000
- Subject: [Bug libc/10281] New: <string.h> broken if __USE_GNU is defined
- Reply-to: sourceware-bugzilla at sourceware dot org
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.