cemacsmingwcedet

When cedet semantic parsing c header files of my system, here comes "Idle Parse Error":


No method definition: semanticdb-add-reference, (nil (\"stdio.h\" include (:system-flag t) (unlink-copy-hook (semantic--tag-unlink-copy-secondary-overlays) link-hook (semantic--tag-link-secondary-overlays) secondary-overlays (# #) unlink-hook (semantic--tag-unlink-secondary-overlays) dependency-file \"d:/MinGW/include/stdio.h\") #))"

I use mingw in windows 7 system, c.c is the file name, and there are two sentence in init.el which are relevant to the problem:

(semantic-add-system-include "D:/MinGW/include" 'c-mode)
(setq semantic-c-dependency-system-include-path "D:/MinGW/include")


Solution

  • "M-x customize" then search "Global Semanticdb Minor Mode" then toggle on it