This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11157] New: __block is a reserved word with clang -fblocks


Hi,

When compiling a project with Clang, and specifying the -fblocks flag, __block becomes a reserved world. 
The declaration of function encrypt() in unistd.h uses __block as the name of one of its arguments, so the 
compiler gives an error when parsing this header file.

Best regards,
Truls

-- 
           Summary: __block is a reserved word with clang -fblocks
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: truls dot becken at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11157

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]