Re: [cedet-semantic] Error compiling from CVS
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2007-05-20 14:29:25
|
Hi, The warnings are all because I want to make sure that programs that depend on semantic are advised how to update from the 1.4 API to the semantic 2 API. Since I still have a semantic 1.4 API in semantic, it throws a lot of warnings. Those will eventually go away when the 1.4 stuff is completely eliminated. As for your error, it seems as though cc-mode isn't loading at all. Getting that fixed seems like the first order of business. If you're local Emacs install has used a substitute C mode of some sort that you need/want to use, then you would need to port the Semantic support of C parsing to the new mode. It might be as simple as converting the line: (require 'cc-mode) with (require 'my-c-mode-substitue) but there might be syntax table differences that would cause erroneous behaviors. Good Luck Eric >>> Christopher White <ch...@gr...> seems to think that: >Hello all, > >Trying to make some headway with using CEDET, as it looks very powerful. >However, I'm running into a couple of issues while compiling. > >I synced up latest in CVS and I'm running Emacs version 21.4.1 on Linux. >(BTW, also saw the same problem with 1.0pre3). > >The problem occurs while byte-compiling semantic-c.el: > >The line for "(require 'cc-mode)" causes problems. I can't quite figure >out why. I've isolated the byte-compile command that causes it: > >[safire] cedet/semantic/bovine --# "emacs" -batch --no-site-file -l >languages-compile-script -f batch-byte-compile semantic-c.el >Loading /usr/libexec/emacs/21.4/i686-redhat-linux-gnu/fns-21.4.1-x.el >(source)... >While compiling toplevel forms in >file /usr/src/cedet/semantic/bovine/semantic-c.el: > ** variable `semantic-format-tag-functions' obsoletes, but isn't alias >of `semantic-token->text-functions' > ** variable `semantic-tag-expand-function' obsoletes, but isn't alias >of `semantic-expand-nonterminal' > ** variable `semantic--parse-table' obsoletes, but isn't alias of >`semantic-toplevel-bovine-table' > ** variable `semantic--buffer-cache' obsoletes, but isn't alias of >`semantic-toplevel-bovine-cache' > ** variable `semantic--before-fetch-tags-hook' obsoletes, but isn't >alias of `semantic-before-toplevel-bovination-hook' > ** variable `semantic-working-type' obsoletes, but isn't alias of >`semantic-bovination-working-type' > ** variable `semantic-format-tag-functions' obsoletes, but isn't alias >of `semantic-token->text-functions' > ** variable `semantic-format-tag-custom-list' obsoletes, but isn't >alias of `semantic-token->text-custom-list' > ** variable `semantic-format-face-alist' obsoletes, but isn't alias of >`semantic-face-alist' > ** variable `semantic-imenu-expand-type-members' obsoletes, but isn't >alias of `semantic-imenu-expand-type-parts' > ** variable `semantic-imenu-bucketize-type-members' obsoletes, but >isn't alias of `semantic-imenu-bucketize-type-parts' > ** variable `semantic-imenu-expandable-tag-classes' obsoletes, but >isn't alias of `semantic-imenu-expandable-token' > ** variable `semantic-step-at-tag-classes' obsoletes, but isn't alias >of `semantic-step-at-token-ids' > ** variable `senator-step-at-start-end-tag-classes' obsoletes, but >isn't alias of `senator-step-at-start-end-token-ids' > ** variable `senator-add-log-tags' obsoletes, but isn't alias of >`senator-add-log-tokens' > !! File error (("Cannot open load file" "cc-defs.el")) >Done > >If I comment out the require line, it compiles ok, but then later I get >an error when I actually start emacs - the autoload of function >"semantic-default-c-setup" fails. I suspect it's related to the compile >problem, but not positive. > >Also, there are a large number of such warnings...I assume this are all >ok? > >Thanks >...cj [ ... ] -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |