[英]YouCompleteMe doesn't show errors when non standard header is included
When I try include gst.h YCM start innoring all error 当我尝试包含gst.h YCM时,开始误入所有错误
For example: 例如:
#include <math.h>
//#include <gst/gst.h>
main (){ //ycm show error here
int a=0;
int b //and here
}
but 但
#include <math.h>
#include <gst/gst.h>
main (){ //ycm don't show error here
int a=0;
int b //and here
}
path to gst.h included to .ycm_extra_conf.py . gst.h的路径包含在.ycm_extra_conf.py中。 What i miss?
我想念什么?
:YcmDiags
show all warning and error YCM messages. :YcmDiags
显示所有警告和错误的YCM消息。 You must include all nested headers and then YCM parse your code right. 您必须包括所有嵌套的标头,然后YCM正确解析您的代码。 Also you must install
clang
lib correct for C/C++ language. 另外,您还必须安装适用于C / C ++语言的
clang
lib。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.