From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1388 invoked by alias); 10 Jan 2010 17:52:40 -0000 Received: (qmail 1298 invoked by uid 48); 10 Jan 2010 17:52:29 -0000 Date: Sun, 10 Jan 2010 17:52:00 -0000 From: "truls dot becken at gmail dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20100110175229.11157.truls.becken@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/11157] New: __block is a reserved word with clang -fblocks X-Bugzilla-Reason: CC 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: 2010-01/txt/msg00026.txt.bz2 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.