Re: [cedet-semantic] semantic-complete-analyze-inline doesn't work for QT4 example
Brought to you by:
zappo
From: Joseph G. <jos...@gm...> - 2009-03-29 00:56:52
|
Should I be trying semantic specific unit tests or the cedet ones? I did "make tests" from the root cedet folder, then cd'd into tests and ran cit-tests.sh, which stops in foodoc.texi with the following backtrace: Debugger entered--Lisp error: (error "Cannot find node to put menu item into") signal(error ("Cannot find node to put menu item into")) error("Cannot find node to put menu item into") srecode-texi-add-menu("About Foo") cit-srecode-fill-texi() cedet-integ-test() call-interactively(cedet-integ-test nil nil) command-execute(cedet-integ-test) command-line-1(("-l" "../common/cedet.el" "-l" "cit-load.el" "-f" "toggle-debug-on-error" "-f" "cedet-integ-test")) command-line() normal-top-level() I tried doing make Tests in semantic/tests, but it said everything was already up to date and none of the files stuck out clearly as the executable to try. Joe On Sat, Mar 28, 2009 at 8:22 PM, Eric M. Ludlam <er...@si...> wrote: > Well then, good news. That implies that I was able to solve the > initialization problem. > > If you can use the makefiles, the next thing is to try the unit tests > and make sure all the machinery is working. That will eliminate any > concerns that there is any more installation issues. > > Then you can use `semantic-analyze-debug-assist' to see what > suggestions it has as to why it might not find your data type. > > Eric > >>>> Joseph Garvin <jos...@gm...> seems to think that: >>Hey, with latest cvs if I try semantic-complete-analyze-inline it >>starts parsing headers! Yay! But then it says it still can't find >>types for QPushButton :/ This is with the following lexing lines: >> >>(add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat >>qt4-base-dir "/Qt/qconfig.h")) >>(add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat >>qt4-base-dir "/Qt/qconfig-dist.h")) >>(add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat >>qt4-base-dir "/Qt/qglobal.h")) >>(add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat >>qt4-base-dir "/Qt/qobjectdefs.h")) >>(add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat >>qt4-base-dir "/Qt/qwebkitglobal.h")) >> >>Thanks for pursuing this, I feel like we're getting closer. >> >>Joe >> >>On Fri, Mar 27, 2009 at 10:05 PM, Eric M. Ludlam <er...@si...> wrote: >>>>>> Joseph Garvin <jos...@gm...> seems to think that: >>>>First I tried completion in main.cpp without deleting .semanticdb, and >>>>I still got the couldn't find types error. Then I closed emacs, >>>>deleted .semanticdb, then loaded main.cpp, and tried completion, and >>>>got the buffers not supported error again. Also it didn't try to parse >>>>a ton of headers like it did after the time editing c++config.h. > [ ... ] > > ------------------------------------------------------------------------------ > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic > |