[cfe-dev] example does not compile, look like a bug

equinox at atw.hu equinox at atw.hu
Thu Apr 30 11:58:11 PDT 2015


On 4/30/2015 4:33 PM, Csaba Raduly wrote:
> On Thu, Apr 30, 2015 at 10:20 AM,  equinox wrote:
>> On 4/30/2015 12:58 AM, Anton Korobeynikov wrote:
> (snipped)
>> Thanks you for trying to help.
>> This problem is located in clang headers , not in the  code as I see it.
>> It implies clang 3.6.0 was released with faulty headers?????
>>
>> Marton
> Unlikely.
>
> The tutorial code was written for the clang 3.4.0 headers. The clang
> headers have changed since the 3.4.0 release, but the tutorial code
> was not updated.
>
> Csaba
It is not clear what you mean that headers "changed"...
I downloaded 3.6.0 headers from the official site as a part of clang 
source package.
#include "clang/AST/ASTContext.h"
This is the line causing the error. This seems to be a valid header.
I can find it in the documentation.

Marton





More information about the cfe-dev mailing list