0

当我编译 cedet 并使用它浏览 c++ 文件时,我发现很多错误,如下所示,并且自动打开了很多头文件:

  Idle Work Including Error: "#<buffer rtsp.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer QTSServer.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer main-handler.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer common.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer QTSSRollingLog.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer byteorder.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer c++locale.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer postypes.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer cwchar> - Wrong type argument: stringp, (lambda (f) t)"
Mark set [12 times]
Idle Work Including Error: "#<buffer QTSServer.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer main-handler.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer common.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer QTSSRollingLog.cpp> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer byteorder.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer c++locale.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer dirent.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer cache.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer little_endian.h> - Wrong type argument: stringp, (lambda (f) t)"
Idle Work Including Error: "#<buffer clocale> - Wrong type argument: stringp, (lambda (f) t)"
Mark set [6 t

我从 GNU ftp 23.4 版下载 emacs 并编译并使用它。但是我的系统中有一个旧的emacs由于某种原因我无法删除它,我希望这个旧版本不会受到影响。更重要的是,我使用选项“make EMACS=”来完成 cedet-1.1。请帮我解决这个问题,它让我困惑了很长时间。

4

1 回答 1

1

当您从空闲工作处理程序中收到错误时,请从以下内容开始:

M-x semantic-debug-idle-work-function RET

了解正在发生的事情的完整堆栈。这将指向你的问题。

于 2013-01-31T12:41:55.347 回答