emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 24 semantic C++ completion problem


From: Vyacheslav Gonakhchyan
Subject: Emacs 24 semantic C++ completion problem
Date: Thu, 29 Dec 2011 18:32:37 +0000

Hi,

I have a problem with C++ completion via builtin semantic.
Environment: Linux 3.1.5, Emacs 24.0.92.1(latest bzr build), attached config file.


I use command semantic-ia-complete-symbol and get confusing errors(I cut the some line - they are too long):

1)
Debugger entered--Lisp error: (error "Cannot find types for `\"mCamera\"'")
signal(error ("Cannot find types for `\"mCamera\"'"))
error("Cannot find types for `%s'" "\"mCamera\"")
semantic-analyze-possible-completions-default([object semantic-analyze-context...
semantic-analyze-possible-completions([object semantic-analyze-context "context" (690 . 690) ("mCamera" "")...
semantic-ia-complete-symbol(690)
call-interactively(semantic-ia-complete-symbol nil nil)

2)
Debugger entered--Lisp error: (wrong-type-argument semantic-find-tags-by-scope-protection parent semantic-tag-class type)
signal(wrong-type-argument (semantic-find-tags-by-scope-protection parent semantic-tag-class type))
semantic-find-tags-by-scope-protection(protected ("WindowEventListener" variable
semantic-analyze-scoped-type-parts(("WindowEventListener" variable (:type ("_OgreExport" type
...(table dump)
semantic-analyze-scoped-inherited-tag-map(("BaseApplication" type (:superclasses...
Semantic-analyze-scoped-inherited-tag-map(("TutorialApplication" type (:superclasses (("BaseApplication"
semantic-analyze-scoped-inherited-tags(("TutorialApplication" type (:superclasses (("BaseApplication" type...
semantic-analyze-scoped-type-parts(("TutorialApplication" type (:superclasses (("BaseApplication" type...
semantic-analyze-scoped-tags-default(nil [object semantic-scope-cache "Cache" [object semanticdb-table "Tut.cpp"...
semantic-analyze-scoped-tags(nil [object semantic-scope-cache "Cache" [object semanticdb-table "Tut.cpp"...
semantic-calculate-scope(685)
semantic-analyze-current-context-default(685)
semantic-analyze-current-context(685)
semantic-ia-complete-symbol(685)
call-interactively(semantic-ia-complete-symbol nil nil)


I'm trying to make completion work for C++ and I need your advice. Debugging these errors for newbie such as myself is tedious:(
Also please answer if you know workaround. If you have a working .emacs config - it might help too.

Thanks,
Slava

Attachment: .emacs
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]