-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I get build errors:
[100%] Building CXX object CMakeFiles/luaclang-parser.dir/luaclang-parser.cpp.o
/home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘void pushDiagnostic(lua_State*, CXDiagnostic)’:
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:70:57: error: ‘clang_getDiagnosticCategoryText’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘int l_parseTU(lua_State*)’:
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:136:77: error: ‘CXTranslationUnit_SkipFunctionBodies’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘const char* cursorKindStr(CXCursorKind)’:
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:370:10: error: ‘CXCursor_VariableRef’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:419:10: error: ‘CXCursor_LambdaExpr’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:420:10: error: ‘CXCursor_ObjCBoolLiteralExpr’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:449:10: error: ‘CXCursor_MSAsmStmt’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:460:10: error: ‘CXCursor_AsmLabelAttr’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘int l_arguments(lua_State*)’:
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:502:58: error: ‘clang_Cursor_getNumArguments’ was not declared in this scope
/home/justin/lua/luaclang-parser/luaclang-parser.cpp:506:47: error: ‘clang_Cursor_getArgument’ was not declared in this scope
make[2]: *** [CMakeFiles/luaclang-parser.dir/luaclang-parser.cpp.o] Error 1
make[1]: *** [CMakeFiles/luaclang-parser.dir/all] Error 2
make: *** [all] Error 2
This is using the version of clang that ships with Ubuntu 12.10 (3.0 I think). Do I need a more recent version?
Metadata
Metadata
Assignees
Labels
No labels