Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I have followed Alexott guide to add system include paths using
command: (semantic-add-system-include "~/working/protfold/include"
'c-mode) in my .emacs file. This approach does not work since I do not
see the included folder at the output of semantic-c-describe-environment
command. I have to add this path manually inside emacs using
semantic-add-system-include command. Moreover, code complete is only
work on an open file if I reopen it.
Thanks in advance,
The output of semantic-c-describe-environment command.
Include Path Summary:
This file's system include path is:
From: Eric M. Ludlam <eric@si...> - 2010-11-26 18:30:03
You need to add:
before your call to semantic-add-system-include, or when it loads later
it will clear your change.
Alternately, just set semantic-c-dependency-system-include-path to a
list of things like this:
(setq-mode-local c-mode semantic-c-dependency-system-include-path
'("path 1" "path 2" ))
and that will supposedly be added when semantic-c loads.
I don't know how to reproduce the completion problem you mention. Seems
likely there is a file load error? Try
M-x toggle-debug-on-error RET
and perhaps it will reveal something.
On 11/24/2010 06:16 PM, Hung Dang wrote:
> HI all,
> I have followed Alexott guide to add system include paths using
> command: (semantic-add-system-include "~/working/protfold/include"
> 'c-mode) in my .emacs file. This approach does not work since I do not
> see the included folder at the output of semantic-c-describe-environment
> command. I have to add this path manually inside emacs using
> semantic-add-system-include command. Moreover, code complete is only
> work on an open file if I reopen it.
> Any idea?
> Thanks in advance,
> The output of semantic-c-describe-environment command.
> Include Path Summary:
> This file's system include path is:
> Increase Visibility of Your 3D Game App& Earn a Chance To Win $500!
> Tap into the largest installed PC base& get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> Cedet-devel mailing list