This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11157] __block is a reserved word with clang -fblocks
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 13 Jun 2012 18:51:11 +0000
- Subject: [Bug libc/11157] __block is a reserved word with clang -fblocks
- Auto-submitted: auto-generated
- References: <bug-11157-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11157
Paul Pluzhnikov <ppluzhnikov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |ppluzhnikov at google dot
| |com
Version|2.11 |unspecified
Resolution|INVALID |
--- Comment #7 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-06-13 18:51:11 UTC ---
I would like to revisit this issue:
- it is trivial to change glibc public headers to not use __block
(there are only 5 instances).
- eglibc has a patch to rename __block to __libc_block:
r10807 | joseph | 2010-06-24 07:52:06 -0700 (Thu, 24 Jun 2010) | 5 lines
2010-06-24 Mark Heily <mark@heily.com>
* crypt/crypt.h, posix/unistd.h: Use __libc_block instead of
__block.
It is certainly possible to work around this on the Clang side, but it is also
certainly more work, and more opportunity for things to go wrong.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.