Emacs CEDET and system include paths

Posted by synasius on Stack Overflow See other posts from Stack Overflow or by synasius
Published on 2010-05-13T09:09:51Z Indexed on 2010/05/13 9:14 UTC
Read the original article Hit count: 337

Filed under:
|

Hello everyone,
I'd like to add path to the openMPI library headers. So, after i found all openMPI headers are in /usr/lib/openmpi/include/* i added these two lines to my .emacs:

(semantic-add-system-include "/usr/lib/openmpi/include" 'c-mode)
(semantic-add-system-include "/usr/lib/openmpi/include" 'c++-mode)

I think this is ok, but it's not working!
This is the result of semantic-c-describe-envirnoment command:

This file's system include path is:
/usr/include
/usr/local/include/
/usr/lib/gcc/i486-linux-gnu/4.4.3/include/
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/
/usr/include/

Can't figure out what's wrong or what i'm missing

Thanks

© Stack Overflow or respective owner

Related posts about emacs

Related posts about cedet