From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11674 invoked by alias); 13 Jun 2012 18:51:32 -0000 Received: (qmail 11649 invoked by uid 22791); 13 Jun 2012 18:51:28 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Jun 2012 18:51:14 +0000 From: "ppluzhnikov at google dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/11157] __block is a reserved word with clang -fblocks Date: Wed, 13 Jun 2012 18:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Version Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00077.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=11157 Paul Pluzhnikov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ppluzhnikov at google dot | |com Version|2.11 |unspecified Resolution|INVALID | --- Comment #7 from Paul Pluzhnikov 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 __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.