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

aftershock equinox at atw.hu
Wed Apr 29 03:09:30 PDT 2015


Hi ALl, 

I was not sure where to post this.
there is an example...tutorial on using clang library
https://github.com/loarabia/Clang-tutorial/blob/master/CItutorial4.cpp

When I use VIsual Stuidio 2013 compiler, some of the headers files do not
compile.
d:\src\llvm-3.6.0.src\tools\clang\include\clang/AST/DeclBase.h(1142) : error
C2039: 'Captured' : is not a member of 'clang::Decl'
        d:\src\llvm-3.6.0.src\tools\clang\include\clang/AST/DeclBase.h(72) :
see declaration of 'clang::Decl'
d:\src\llvm-3.6.0.src\tools\clang\include\clang/AST/DeclBase.h(1142) : error
C2065: 'Captured' : undeclared identifier
d:\src\llvm-3.6.0.src\tools\clang\include\clang/AST/DeclBase.h(1142) : error
C2051: case expression not constant

When is it fixed?  Or what is this?

Thanks in advance.

Marton




--
View this message in context: http://clang-developers.42468.n3.nabble.com/example-does-not-compile-look-like-a-bug-tp4045150.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list