* Semantic with C++
@ 2013-07-05 15:55 lender
2013-07-06 8:05 ` Aurélien Aptel
0 siblings, 1 reply; 2+ messages in thread
From: lender @ 2013-07-05 15:55 UTC (permalink / raw)
To: help-gnu-emacs
Hi guys:
I get a problem when i use the built-in cedet to write C++ code. It is
that cedet can not complete the standard C++ class such as string and
vector ... But cedet can complete the classes defined by me.And there is
no data in the semanticdb directory about C++ standard headers, I think
it cases the problem but I don't know what to do to make it work!
Here is my cedet setting:
(require 'cedet)
(setq semantic-default-submodes '(global-semantic-idle-scheduler-mode
global-semanticdb-minor-mode
global-semantic-idle-summary-mode
global-semantic-mru-bookmark-mode))
(semantic-mode 1)
(global-semantic-decoration-mode)
(require 'semantic/bovine/gcc)
(require 'semantic/bovine/c)
(defconst cedet-user-include-dirs
(list ".." "../include" "../inc" "../common" "../public" "."
"../.." "../../include" "../../inc" "../../common" "../../public"))
(setq cedet-sys-include-dirs (list
"/usr/include"
"/usr/include/bits"
"/usr/include/gnu"
"/usr/local/include"))
(let ((include-dirs cedet-user-include-dirs))
(setq include-dirs (append include-dirs cedet-sys-include-dirs))
(mapc (lambda (dir)
(semantic-add-system-include dir 'c++-mode)
(semantic-add-system-include dir 'c-mode))
include-dirs))
(setq semantic-c-dependency-system-include-path "/usr/include/")
(setq semanticdb-default-save-directory
(expand-file-name "~/.emacs.d/semanticdb"))
(provide 'cedet-setting)
Is there anyone have ideas about this problem?
Thank you!!!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Semantic with C++
2013-07-05 15:55 Semantic with C++ lender
@ 2013-07-06 8:05 ` Aurélien Aptel
0 siblings, 0 replies; 2+ messages in thread
From: Aurélien Aptel @ 2013-07-06 8:05 UTC (permalink / raw)
To: lender; +Cc: help-gnu-emacs
On Fri, Jul 5, 2013 at 5:55 PM, lender <lenderclvt@gmail.com> wrote:
> Is there anyone have ideas about this problem?
> Thank you!!!
You should ask on the CEDET mailing list.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-06 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-05 15:55 Semantic with C++ lender
2013-07-06 8:05 ` Aurélien Aptel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.