[cfe-dev] Can't resolve Sema::ActOnClassTemplate, clang-cc build fail

Chris Lattner clattner at apple.com
Sat Apr 18 22:30:42 PDT 2009


On Apr 18, 2009, at 8:09 PM, ether zhhb wrote:

> Thank you for reply.
>
> Last night I try to dump the clangSema.lib and found the same thing,
> at last I comment those functions, and I could compile it without
> error. so I think the error occur due to the compiler doing some
> magical things to the header file.
>
> This morning I just move the statement of including Sema.h to the head
> of the include list, and everything is OK :)

I'd prefer to keep the include of parseast.h first.  Does this work  
though?
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015845.html

-Chris




More information about the cfe-dev mailing list