It's an endless-loop in FindAIMatches in nativeparser.cpp.
If I comment out the if-block starting with if (local_result.size() == 1) (lines 1720 - 1747) it works again, but most likely break other stuff.
The block was added in svn r5770 (merge with old cc-branch) and originally added in svn 5685 to cc-refactoring-branch.
To reproduce the crash (or better the endless-loop) on windows, you can do the following:
- find the definition of VOID (it is in winnt.h in my MinGW-install),
- comment it out
- add typedef void VOID; in a simple hello-world console-project
- save it
- and after typing vo it hangs (if cc kicks in after three characters)
.
This "works" at least for me.
Another simple way to solve this
Token* tdef = DoAddToken(tkClass, components.front(), lineNr, 0, 0, args);
In this thread,http://forums.codeblocks.org/index.php/topic,11187.msg76830.html#msg76830 (http://forums.codeblocks.org/index.php/topic,11187.msg76830.html#msg76830)
maybe this is the reason why the suggestion list flashed.