[Bug 24443] New: Use of __USE_GNU is not allowed, causes failure to build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 10 17:35:14 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24443

           Summary: Use of __USE_GNU is not allowed, causes failure to build
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: idle
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: kees at outflux.net


In file included from idle-connection.c:27:
/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)
make[4]: *** [idle-connection.lo] Error 1

This appears to be due to the use of __USE_GNU, which should not be used
directly:
http://gcc.gnu.org/ml/fortran/2005-10/msg00365.html

_GNU_SOURCE should be used instead (see attached patch).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list