You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for poor English.
My system is Ubuntu-12.04-i386, and YCM is compiled with libclang.so (There is no pre-build clang-3.6.0 for my system so I do it myself). I found completion cannot work with C/C++ standard header files.
With suggestion in #303, call echo | clang -v -E -x c++ - , got
after adding above dirs to global '.ycm_extra_conf.py' prepending '-isystem' but it still cannot work! Only "standart.h" can be found when I typing 'std'.
Using
'-I'
'/usr/include/c++/4.8/tr1'
is same as '-isystem'
The text was updated successfully, but these errors were encountered:
Are you compiling with -stdlib=libc++? If so, call echo | clang -stdlib=libc++ -v -E -x c++ - instead. The top 3 directories listed here are for GCC's stdlibc++, which is likely what you need if you aren't compiling with -stdlib=libc++. Not sure if that is going to fix your issue, but wanted to mention it.
Sorry for poor English.
My system is Ubuntu-12.04-i386, and YCM is compiled with libclang.so (There is no pre-build clang-3.6.0 for my system so I do it myself). I found completion cannot work with C/C++ standard header files.
With suggestion in #303, call echo | clang -v -E -x c++ - , got
include "..." search starts here:
include <...> search starts here:
/usr/lib/gcc/i686-linux-gnu/4.8/../../../../include/c++/4.8
/usr/lib/gcc/i686-linux-gnu/4.8/../../../../include/i386-linux-gnu/c++/4.8
/usr/lib/gcc/i686-linux-gnu/4.8/../../../../include/c++/4.8/backward
/usr/local/include
/usr/local/bin/../lib/clang/3.6.0/include
/usr/include/i386-linux-gnu
after adding above dirs to global '.ycm_extra_conf.py' prepending '-isystem' but it still cannot work! Only "standart.h" can be found when I typing 'std'.
Using
'-I'
'/usr/include/c++/4.8/tr1'
is same as '-isystem'
The text was updated successfully, but these errors were encountered: