-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Cannot use GCC #773
Comments
Thanks for giving it a try. If I understand correctly you're trying to use GCC to perform completion and trying to configure the plugin for that. Unfortunately this is impossible and I probably communicated the intent in the setup badly. This plugin will always use libclang as this is the only tool that allows for easy auto completion. What I meant in the setup is that sometimes we need to provide certain folders to clang so that it is at all able to compile the code written with GCC in mind. Does this make sense? |
Thank you very much for your help! Your Package is great, but I usually code in GCC and don't know Clang, so I apologize for asking such a low-level question here. |
No worries at all. The way it works is that you can still use gcc when compiling your code manually just as you did before, but the plugin will use clang under the hood. Usually everything works just fine as clang is by design pretty compatible with gcc. |
I have configured according to the document:
But when I type
#include
, I can't use my configured GCC, it's still LLVM。Like this:
What can I do to sovel this problem?
The text was updated successfully, but these errors were encountered: