http://bugzilla.novell.com/show_bug.cgi?id=507930 Summary: glibc(?): missing include in <string.h> Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- The new telepathy-idle has this code: /* strnlen */ #define __USE_GNU #include <string.h> Compilation fails with: /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) Apparently, __locale_t is defined in /usr/include/xlocale.h. This file gets included in string.h if __USE_XOPEN2K8 is defined. Howevern, it's also used inside a "#if __USE_GNU", so it should be included in this case too. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.