[Top][All Lists]

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

Re: Emacs 24 semantic C++ completion problem

From: David Engster
Subject: Re: Emacs 24 semantic C++ completion problem
Date: Fri, 30 Dec 2011 17:51:44 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Vyacheslav Gonakhchyan writes:
>>Could you please provide an example, showing what you're trying to
>>complete and what member functions you would expect to appear?
> Attached zip file with project. There are two markers in code(Tut.cpp):


Thanks; I could reproduce these issues. I think the main problem is with
preprocessor macros in class definitions, like

    class _OgreExport Light : public MovableObject

While you have defined _OgreExport in your project definition, this will
only apply to your own project files, not to system headers. I think the
easiest way to fix this is to use

(add-to-list 'semantic-lex-c-preprocessor-symbol-file

You'll have to exit Emacs and delete all files in ~/.semanticdb to make
Semantic reparse the headers.


reply via email to

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