[cfe-dev] err:ISO C++ forbids declaration of 'PointerUnion4' with no type

Craig Mortensen mortay at apple.com
Mon Sep 14 17:30:39 PDT 2009


Hi Chris. Yep. They have the same revision # of 81368

Craig

On Sep 14, 2009, at 4:48 PM, Chris Lattner wrote:

>
> On Sep 14, 2009, at 3:03 PM, Craig Mortensen wrote:
>
>> Hello,
>>
>> I'm running into a compile errors for PointerUnion4 in TemplateName.h
>>
>>
>> /usr/local/include/clang/AST/TemplateName.h:63:0 ISO C++ forbids  
>> declaration of 'PointerUnion4' with no type in /usr/local/include/ 
>> clang/AST/TemplateName.h
>>
>> class TemplateName {
>>   typedef llvm::PointerUnion4<TemplateDecl *,  
>> OverloadedFunctionDecl *,
>>                               QualifiedTemplateName *,
>>                               DependentTemplateName *> StorageType;
>>
>> How to I get the compiler to get passed this?  In XCode, I tried  
>> using both the built clang compiler from the llvm/clang project and  
>> the one that comes stock with Mac OSX SnowLeopard.  Both gave the  
>> same error.
>
> Are your llvm and clang trees the same SVN revision number?
>
> -Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090914/762549c3/attachment.html>


More information about the cfe-dev mailing list