Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a clang error #18

Closed
tolerious opened this issue Apr 25, 2013 · 4 comments
Closed

a clang error #18

tolerious opened this issue Apr 25, 2013 · 4 comments

Comments

@tolerious
Copy link

like this

Alt text

@redguardtoo
Copy link
Owner

That's normal. You know how to use clang, right? To make the clang auto-complete work, you need tell clang the directories to search c++ headers. check my project cpputils-cmake for details. That is common for all the C++ IDEs. I mean you need set up directories for C/C++ headers even you are using "Modern" IDEs (Visual Studio, QtCreator, Eclipse ...)

@redguardtoo
Copy link
Owner

btw, what software u use to create gif?

@tolerious
Copy link
Author

OK,I will check out it,I use byzanz to generate a gif.

@dgutov
Copy link

dgutov commented May 3, 2013

FWIW, I've just typed this example in, and I don't see the error. And company-clang-arguments is nil.
After I type the beginning of that name, I get offered two completions: sockaddr and sockaddr_storage. If I then finish it with _in and try to complete, it just says "No completion found".

$ clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants