-
-
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 find STL on macOS 10.14 (clang 10.0) #554
Comments
I'm confused. Both the queue and the vector do take template parameters. If you don't provide them the completion is not possible. Or am I getting something wrong? Also, the example you show is a legitimate warning from clang as far as I understand. |
There is something wrong with github probably! No matter how many times i edit! It shows the same! |
Ah, you need to use fenced code blocks. Please update your issue so that it is readable. |
Hope that works? |
Why do you include the header you include here? Should you rather try to include |
I’m not new to this plugin! I’ve been using it since the past 1 1/2 year! I love it! I got a new laptop and its not working on it! The header is alright! I have also tried with queue and vector instead! Doesn’t work :( |
I see. I don't see any issues in the log, so it must be a configuration issue. It means that libclang cannot find the proper includes. Can you run these commands in your terminal and copy the output here? touch /tmp/temp.cc
clang++ -c /tmp/temp.cc -v |
Also, seems related to #528. Did you do what @eyun221 suggested here: #528 (comment) ? |
Apple LLVM version 10.0.0 (clang-1000.10.44.4) |
Okay! So what I've found is when i include bits/stdc++.h it doesn't work with stl while it works when i include |
Got it working! There was an included header which wasn't present in the system! Uncommented that and it started working again :) |
Glad you solved it and thanks for the kind words. Can you post your working |
Sure :)
|
Ok, I will reopen it until I add the docs. |
Closed in #558 |
Create minimal example if you can
System info:
3.11 Build 3176
macOS Mojave 10.14
10.0
What happens:
Ecc is not working with stl items like queue vector and maps! Only autocompleting string
log.txt
The text was updated successfully, but these errors were encountered: