Closed miquelbeltran closed 4 years ago
Got the same error here
Given that python bindings to libclang were updated three years ago, it's not very surprising. The library probably returns enumeration value, which binging part tries to map, but there is no such value.
I guess it should be possible to update the bindings, but there were some discussion about breaking C interface between releases of LLVM, which might be related to Clang as well, so version hell is near.
Happens if I use clang from homebrew (I've installed it for clang-format)
But it is OK when using clang from xcode.app.
Crashes:
let g:clang_library_path = "/usr/local/Cellar/llvm/3.5.0_2/lib/"
Works:let g:clang_library_path = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/"
The crash I get:
This does not happen for all files, just for some of them. I cannot share my source files, but I can provide any more information needed and test things. If I remove the plugin I don't have crashes.
My .vimrc
vim version output:
I guess this is important information for the project, but not a blocking issue.