{"action":"created","issue":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/20","repository_url":"https://api.github.com/repos/niosus/EasyClangComplete","labels_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/20/comments","events_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/20/events","html_url":"https://github.com/niosus/EasyClangComplete/issues/20","id":157368719,"number":20,"title":"libclang completion doesn't work with clang version > 3.6","user":{"login":"riazanovskiy","id":11013917,"avatar_url":"https://avatars.githubusercontent.com/u/11013917?v=3","gravatar_id":"","url":"https://api.github.com/users/riazanovskiy","html_url":"https://github.com/riazanovskiy","followers_url":"https://api.github.com/users/riazanovskiy/followers","following_url":"https://api.github.com/users/riazanovskiy/following{/other_user}","gists_url":"https://api.github.com/users/riazanovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/riazanovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riazanovskiy/subscriptions","organizations_url":"https://api.github.com/users/riazanovskiy/orgs","repos_url":"https://api.github.com/users/riazanovskiy/repos","events_url":"https://api.github.com/users/riazanovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/riazanovskiy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/niosus/EasyClangComplete/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/niosus/EasyClangComplete/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/niosus/EasyClangComplete/labels/Linux","name":"Linux","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-05-29T04:32:30Z","updated_at":"2016-05-31T22:24:45Z","closed_at":null,"body":"The completion works fine on the default setup. But the log says \r\n`INFO:EasyClangComplete.EasyClangComplete: falling back to using clang in a subprocess.`\r\nI found out that on my system I have libclang.so, not libclang-3.8.so.1 \r\nAfter I changed it completion stopped working\r\n```\r\nINFO:EasyClangComplete.EasyClangComplete: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.completion.base_complete: Getting version from command: `clang++ --version`\r\nINFO:EasyClangComplete.plugin.completion.base_complete: Found clang version: 3.8\r\nWARNING:EasyClangComplete.plugin.completion.lib_complete: cannot get default cindex with error: No module named 'EasyClangComplete.clang.cindex'\r\nWARNING:EasyClangComplete.plugin.completion.lib_complete: using bundled one: EasyClangComplete.clang.cindex38\r\nDEBUG:EasyClangComplete.EasyClangComplete: on_activated_async view id 4\r\nDEBUG:EasyClangComplete.EasyClangComplete: on_activated_async view id 18\r\nDEBUG:EasyClangComplete.EasyClangComplete:init completer for view id: 18\r\nDEBUG:EasyClangComplete.plugin.plugin_settings: populating include dirs with current variables:\r\nDEBUG:EasyClangComplete.plugin.plugin_settings: project_base_name = \r\nDEBUG:EasyClangComplete.plugin.plugin_settings: project_base_folder = /home/daniel/.config/sublime-text-3/Packages/EasyClangComplete\r\nDEBUG:EasyClangComplete.plugin.plugin_settings: file_parent_folder = /home\r\nDEBUG:EasyClangComplete.plugin.plugin_settings: include_dirs = ['/usr/include', '/home/daniel/.config/sublime-text-3/Packages/EasyClangComplete/src', '/usr/include/c++/6.1.1', '/usr/include/c++/6.1.1/x86_64-unknown-linux-gnu', '/usr/include/c++/6.1.1/backward', '/usr/local/include', '/usr/lib/clang/3.8.0/include', '/home/daniel']\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: searching for .clang_complete in /home/daniel up to /home/daniel/.config/sublime-text-3/Packages/EasyClangComplete\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: clang flags are: ['-std=gnu++1z', '-I/usr/include', '-I/home/daniel/.config/sublime-text-3/Packages/EasyClangComplete/src', '-I/usr/include/c++/6.1.1', '-I/usr/include/c++/6.1.1/x86_64-unknown-linux-gnu', '-I/usr/include/c++/6.1.1/backward', '-I/usr/local/include', '-I/usr/lib/clang/3.8.0/include', '-I/home/daniel']\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: compilation started for view id: 18\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: compilation done in 0.4559640884399414 seconds\r\nDEBUG:EasyClangComplete.plugin.error_vis: generating error regions for view 18\r\nDEBUG:root: adding error {'row': '20', 'file': '/home/daniel/test.cpp', 'col': '5', 'error': \"unexpected namespace name 'std': expected expression\"}\r\nDEBUG:EasyClangComplete.plugin.error_vis: 1 error regions ready\r\nDEBUG:EasyClangComplete.plugin.error_vis: showing error regions: [(325, 328)]\r\nDEBUG:EasyClangComplete.EasyClangComplete: on_modified_async view id 18\r\nDEBUG:EasyClangComplete.plugin.error_vis: erasing error regions for view 18\r\nDEBUG:EasyClangComplete.EasyClangComplete: on_query_completions view id 18\r\nDEBUG:EasyClangComplete.EasyClangComplete: starting async auto_complete at pos: 329\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: started code complete for view 18\r\nDEBUG:EasyClangComplete.plugin.completion.lib_complete: no completions\r\n```\r\n\r\nError highlighting on save mostly doesn't work.\r\nIt seems that cindex38.codeComplete returns None at line 2606 because ptr is False for some reason.\r\nI have Sublime Text 3114, Arch linux and clang 3.8\r\n"},"comment":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/comments/222839834","html_url":"https://github.com/niosus/EasyClangComplete/issues/20#issuecomment-222839834","issue_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/20","id":222839834,"user":{"login":"niosus","id":1893598,"avatar_url":"https://avatars.githubusercontent.com/u/1893598?v=3","gravatar_id":"","url":"https://api.github.com/users/niosus","html_url":"https://github.com/niosus","followers_url":"https://api.github.com/users/niosus/followers","following_url":"https://api.github.com/users/niosus/following{/other_user}","gists_url":"https://api.github.com/users/niosus/gists{/gist_id}","starred_url":"https://api.github.com/users/niosus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niosus/subscriptions","organizations_url":"https://api.github.com/users/niosus/orgs","repos_url":"https://api.github.com/users/niosus/repos","events_url":"https://api.github.com/users/niosus/events{/privacy}","received_events_url":"https://api.github.com/users/niosus/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T22:24:45Z","updated_at":"2016-05-31T22:24:45Z","body":"Also, seems like the relevant fix is inspired by http://reviews.llvm.org/D17226 as referenced [here](https://github.com/niosus/EasyClangComplete/blob/master/clang/cindex38.py#L2406) in the new `cindex38.py`"}}
{"actor":{"display_login":"niosus"}}