Re: [CEDET-devel] smart-completion for wxWidgets
Brought to you by:
zappo
From: David E. <de...@ra...> - 2010-10-26 17:34:23
|
Eugen Dahm writes: > http://sourceforge.net/mailarchive/message.php?msg_name=1254376813.8450.16.camel%40nkn-laptop > Hi, according to this post, with the proposed fixes, cedet "should" find > all wxWidgets symbols. I pretty much copied the config and tried > to get it to run with my installed wxWidgets version (2.8.something .. > Fedora13). I'm wondering, why cedet seems to not see all symbols. > I'm using the posted DE-implied-whatever function, but it seems some > Symbols like Centre (a method in wxFrame .. according to the wxWidgets > documentation) can't be found by cedet. Atm, I'm compiling 2.9.1 to see > if this one works, but somehow assuming 2.9.1 works for me, the thought > kinda irritates me that 2.8 doesn't work perfectly, but 2.9 does. Please try the following: * Delete all cache files in ~/.semanticdb * Unless you're already using the GTk binding, install them (stable version, currently 2.8.11). The following assumes that all includes are located in /usr/include/wx-2.8. * Use the following setup: (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_CORE" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_FWD_CORE" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_BASE" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_FWD_BASE" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_FWD_XML" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLIMPEXP_ADV" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("WXDLLEXPORT" . "")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("__WXGTK20__" . "1")) (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("wxWindow" . "wxWindowGTK")) (DE-imply-includes-in-directory "/usr/include/wx-2.8/wx/gtk") At least in the hello world example http://www.wxwidgets.org/docs/tutorials/hworld.txt in MyApp::OnInit(), completing after frame-> now shows me 'Center'. -David |