I'm trying to use clang for autocompletion - I am running Archlinux and installed clang from repositories and Codelite from an AUR. The version is 3.5.5375.
I've tried both creating a Custom Makefile project and a G++ console project. Having the following main.cpp:
Code: Select all
#include <vector>
int main(int argc, char *argv[])
{
std::vec
return 0;
}
Compiling with clang from command line works fine. I've tried adding all the include paths to both workspace/codecompletion and tags/clang. This includes, but is not limited to /usr/include/c++/4.7.0/tr1/ where stdarg.h resides. Any ideas what the problem is?
I've found the following thread but it seems to relate to VIM and don't know how to replicate the solution for Codelite.
https://github.com/Rip-Rip/clang_complete/issues/109
Another minor thing: Everytime I start Codelite, it tells me to update the program, but Update now does nothing, and it seems like I already have the latest version..
Thanks for any help!