[cfe-dev] Test failures with objc tests
Eli Friedman
eli.friedman at gmail.com
Sat Jan 19 04:58:21 PST 2008
On my machine (Ubuntu Linux), all of the objc tests cause an error
like the following:
Command:
clang -rewrite-test Sema/rewrite-foreach-4.m | clang
Output:
In file included from <stdin>:23:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/objc/objc.h:145:3: error:
redefinition of 'Protocol'
} Protocol;
^
<stdin>:7:28: error: previous definition is here
typedef struct objc_object Protocol;
^
2 diagnostics generated.
It's a lot of noise, so a fix would be nice...
I've attached the output of "clang -rewrite-test
Sema/rewrite-foreach-4.m", in case it helps. Please ask if a copy of
my objc.h would be helpful.
-Eli
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: objcout.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080119/5ffb333d/attachment.txt>
More information about the cfe-dev
mailing list