-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
YcmDiags complains about /usr/lib/llvm-3.4/lib/clang/3.4/include/module.map #749
Comments
You're probably not giving the right flags to clang through the ycm_extra_conf file. Pretty sure this is a duplicate of #303. |
Are you sure? This warning went away for a while, then came back today as I updated YCM to latest. It happens whether I use no ycm_extra_conf, or the one in the repo, or several cut-down variations thereof that I tried. |
For what it's worth, I just recompiled from scratch exactly according to the instructions, and the error is now gone again. Seems like something goes off during the building process. Perhaps has to do with the fact that on my first attempt I executed the build from |
According to the tutorial, I build it with: |
same for me but I followed the full process. |
Hi - I'm still having this issue. I've been posting to the other thread (issue 809). Are we sure this is not a bug? I think I'm configured correctly - even tried with non-system clang and I get the same thing. You can my screenshots over at issue 809. |
I really feel these reports strange.... I'm always using YCM + clang completer from tip, from say... less than a week ago, and I never stumbled upon this issue. I'm on Ubuntu 13.10 + clang 3.5 tip of trunk + libc++ (with libc++abi since it now works on Linux, previously I was using libcxxrt to have working libc++ on Linux). |
by the way, I set |
@oblitum I've set $CC and $CXX. I can see when I build YCM with CMAKE that it is using these settings (which are set to the downloaded clang). Maybe I'll try this all again from scratch later tonight. Thanks! |
since I'm suspecting this is not an YCM issue, I googled and found some other software with the same kind of error: it seems like the nature of this is having please people, try to make sure that's not going to the YCM libclang arguments, or who knows where, both from |
I've seen some |
just for information on what I use for clang stuff (on Ubuntu): export CC=clang
export CXX=clang++
export CXXFLAGS="-std=c++1y -stdlib=libc++"
export LDFLAGS="-stdlib=libc++ -lc++abi" @michaelajr maybe. On OS X, worst even after an upgrade, I was used to that. But at last, this issue was started by someone on Xubuntu. |
When running :YcmDiags on a correct C++ file, I get the following obscure error which looks like a bug:
The file compiles cleanly on the exact same Clang version with clang++. This is Xubuntu 13.04 with LLVM/Clang installed from the official LLVM apt repo.
The text was updated successfully, but these errors were encountered: