cedet-semantic error “Idle Service Error semantic-idle-summary-idle-function - Arithmetic error” when parsing linux kernel file “jiffies.h”

杀马特。学长 韩版系。学妹 提交于 2019-12-08 08:16:22

问题


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

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".

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.

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


回答1:


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

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.



来源:https://stackoverflow.com/questions/31554055/cedet-semantic-error-idle-service-error-semantic-idle-summary-idle-function-a

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!