This is the mail archive of the 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] __block is a reserved word with clang -fblocks

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  <>

        * crypt/crypt.h, posix/unistd.h: Use __libc_block instead of

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:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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