This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11157] New: __block is a reserved word with clang -fblocks
- From: "truls dot becken at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Jan 2010 17:52:29 -0000
- Subject: [Bug libc/11157] New: __block is a reserved word with clang -fblocks
- Reply-to: sourceware-bugzilla at sourceware dot org
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.