Open rnikoopour opened 7 years ago
I have this in my config to improve the parse:
(dolist (x (list "/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h"
"/usr/local/include/boost/test/unit_test_suite.hpp"))
(add-to-list 'semantic-lex-c-preprocessor-symbol-file x))
Basically, all places where there are a bunch of macros should be passed to semantic-lex-c-preprocessor-symbol-file
.
I tried https://github.com/Sarcasm/irony-mode a few days ago, it's much faster than semantic
and very precise. I suggest you try it too.
I'm trying to follow along on the example to show
moo-complete
options forstd::cout
When I type in
s
and doM-o
it can find std.When I'm at
std::cout.
and pushM-o
formoo-complete
I get the following error:Cannot find definition for "cout"
I added the following to my
.emacs
: