<div dir="ltr">Clang and LLVM does not guarantee that "everything is compatible from one release to another". In fact, you can almost guarantee that anything reasonably complex will NOT be compatible.<div><br></div><div>So, if try to build an old example, that is written for 3.4, with a 3.6 compiler installation, it won't compile. <br><br>This is "by design" in the sense that keeping compatibility between releases is a lot of hard work, especially if you actually wish to improve the product between one release and the next.<br><br>There are three ways to solve your problem:<br>1. Find an updated example that matches the compiler you are using.<br>2. Get the older version of compiler and build against that instead of the latest release.<br>3. Fix the code that has become out of date. This will not only solve the problem, but you are likely to learn how things work better - but sometimes it's not trivial.<br><br>(If the problem is that a header can't be found, then you probably simply need to update the -I option for the build)</div><div><br></div><div>--</div><div>Mats</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 April 2015 at 19:58,  <span dir="ltr"><<a href="mailto:equinox@atw.hu" target="_blank">equinox@atw.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 4/30/2015 4:33 PM, Csaba Raduly wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Apr 30, 2015 at 10:20 AM,  equinox wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 4/30/2015 12:58 AM, Anton Korobeynikov wrote:<br>
</blockquote>
(snipped)<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks you for trying to help.<br>
This problem is located in clang headers , not in the  code as I see it.<br>
It implies clang 3.6.0 was released with faulty headers?????<br>
<br>
Marton<br>
</blockquote>
Unlikely.<br>
<br>
The tutorial code was written for the clang 3.4.0 headers. The clang<br>
headers have changed since the 3.4.0 release, but the tutorial code<br>
was not updated.<br>
<br>
Csaba<br>
</blockquote></span>
It is not clear what you mean that headers "changed"...<br>
I downloaded 3.6.0 headers from the official site as a part of clang source package.<br>
#include "clang/AST/ASTContext.h"<br>
This is the line causing the error. This seems to be a valid header.<br>
I can find it in the documentation.<br>
<br>
Marton<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>