Re: [cedet-semantic] Idle Service Error semantic-idle-summary-idle-function
Brought to you by:
zappo
From: Eric M. L. <eri...@gm...> - 2012-09-25 00:24:01
|
On 09/19/2012 08:25 AM, Ash Shevlyakov wrote: > Greetings! > > I'm having trouble using code completion with CEDET. > > The following error is produced when auto-completion is invoked: > > Idle Service Error semantic-idle-summary-idle-function: "#<buffer > main.cpp> - Wrong type argument: stringp, (((0) \"GLchar\"))" [2 > times] > > main.cpp code: > > #include "GL/glext.h" > > int main(int argc, char* argv[]) > { > return 0; > } > > I'm attaching the result of a backtrace, but it contains lots of > strange symbols. > In the absence of #include "GL/glext.h" completion behaves normally. > What could cause this effect? Hi, I was not able to reproduce the problem on my Linux box using the latest CEDET from bzr. The error is reminiscent of problems in older versions of CEDET dealing with preprocessor macros. In your version of glext.h, what is the definition of GLchar? does it use macro expansion, or anything tricky like that? If so, you might need to upgrade your CEDET, or if you are already using CEDET 1.1 or later, knowing how the macro is defined in glext.h on your system would be a help for debugging. Eric |