Cedet-semantic error“Idle Service Error semantic-idle-summary-idle-function-Arithmetic error”当解析linux内核文件“jiffies.h” [英] cedet-semantic error "Idle Service Error semantic-idle-summary-idle-function - Arithmetic error" when parsing linux kernel file "jiffies.h"

查看:442
本文介绍了Cedet-semantic error“Idle Service Error semantic-idle-summary-idle-function-Arithmetic error”当解析linux内核文件“jiffies.h”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用emacs-24.5.1浏览linux内核代码,并使用cedet(在emacs中内联)进行语法分析。

I browsed linux kernel code with emacs-24.5.1, and cedet(inlined in emacs ) for semactic parsing.

main.c与emacs和一些提示,如解析*文件*%...完成出现,这证明了cedet语义是工作。但是,解析jiffies.h时出现错误,错误是
空闲服务错误语义 - 怠速 - 概要 - 空闲功能 - 算术错误。

After some usual configurations, I opened init/main.c with emacs and some hints like "Parsing *file *% ... Done" appeared, this proves that the cedet-semantic was working. However, an error occurred when parsing "jiffies.h", the error was "Idle Service Error semantic-idle-summary-idle-function - Arithmetic error".

我google了这个错误找到一个解决方案,只找到一个maillist:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17681

I googled this error to find a solution and just found a maillist: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17681

显然,此错误是由语义,语义不能正确解析算术宏。不幸的是,我没有找到解决这个问题的办法。

Obviously, this error was caused by a bug of semantic, semantic can not parse arithmetic macro correctly. Unfortunately, I did not find a solution to this problem.

如何避免这个错误?更新cedet?也许在emacs-24.5.1的cedet是最新版本。

how can I avoid this error? update cedet? Maybe the cedet in emacs-24.5.1 is the latest version.

推荐答案

我已经解决了这个问题。只需从 http://sourceforge.net/p/cedet/安装最新的cedet git / ci / master / tree /

I have solved this problem. just install the latest cedet from http://sourceforge.net/p/cedet/git/ci/master/tree/

为什么emads中的cedet版本是2.0?这让我觉得它是最新的版本。现在似乎不是。至少,存在一个错误。

Why the version of cedet in emacs is 2.0? This make me feel that it is the latest version. It now seems not. At least, a bug exists.

这篇关于Cedet-semantic error“Idle Service Error semantic-idle-summary-idle-function-Arithmetic error”当解析linux内核文件“jiffies.h”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆