the semantic-add-system-include does not work in the latest version of semantic I bzr'ed two days ago with the glib-2.0 and gstreamer-1.0 libraries.
are colored light pink and are "unknown" despite the fact that I included in my .emacs:
(semantic-add-system-include "/usr/include/glib-2.0" 'c-mode)
(semantic-add-system-include "/usr/lib/x86_64-linux-gnu/glib-2.0/include" 'c-mode)
(semantic-add-system-include "/usr/include/gstreamer-1.0" 'c-mode)
These paths exist (taken from pkg-config), and contain the headers .h above. My application compiles OK.
Sometimes, after trying a few times explicitly executing M-x semantic-add-system-include... the #includes become colored yellow, sometimes not. So the behavior is non-deterministic.
cedet-version is a variable defined in `cedet.el'.
Its value is "2.0"
semantic-version is a variable defined in `semantic.el'.
Its value is "2.2"
$ emacs --version
GNU Emacs 24.3.1
$ pkg-config --cflags glib-2.0
$ pkg-config --cflags gstreamer-1.0
-pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include