我配置我的cedet幾乎與http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html一樣。Cedet無法正確解析time.h下的/ usr/include
感謝alexott,大部分時間它運行良好,但我發現它不能很好地解析/usr/include/time.h中的tm結構。
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int main(void){
struct tm times;
FILE file;
}
當使用M-x semantic-ia-fast-jump
,結構file是正確的,但語義發現結構TM在wchar.h
,而不是在time.h
。 問題似乎是wchar.h
中的前向聲明struct tm
。
這聽起來像是應該向Emacs或CEDET團隊報告的錯誤,而不是一個問題。 – 2012-01-04 13:46:46
不確定其他人是否有同樣的問題,或只是一些配置需要 – cutemiex 2012-01-04 14:23:23