[cfe-dev] cfe-dev Digest, Vol 17, Issue 57

Ted Kremenek kremenek at apple.com
Wed Nov 26 11:02:50 PST 2008


Hi Alex,

These error messages lead me to believe that you aren't using top-of- 
tree LLVM.  Clang top-of-tree requires LLVM top-of-tree (not release  
2.4, for example).

Ted

On Nov 26, 2008, at 12:27 AM, Alex.Wang wrote:

>  Hi everyone.
> I am using visual studio to compile the Clang. The compile output an  
> error saying:
> Error    60    error C2039: 'Profile' : is not a member of  
> 'llvm::ImmutableList<T>'    llvm-2.4\include\llvm\ADT 
> \FoldingSet.h    199
>
> what is wrong with that?  the declaration is:
> template<typename T>
> struct FoldingSetTrait {
>   static inline void Profile(const T& X, FoldingSetNodeID& ID)  
> { X.Profile(ID);}
>   static inline void Profile(T& X, FoldingSetNodeID& ID)  
> { X.Profile(ID); }
> };
>
> very odd things...Can anyone explain what is wrong with that?
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list