Help:Contents
From Smbx Wiki
(→How to edit) |
(→External links) |
||
Line 16: | Line 16: | ||
- | + | спасибо, решилось добавлением в конфиг:(semantic-add-system-include "/usr/include" 'c++-mode)(semantic-add-system-include "/usr/include" 'c-mode)раньше было:(add-to-list 'auto-mode-alist '("/usr/include/c++/4.3" . c++-mode))(add-to-list 'auto-mode-alist '("/usr/include/c++/4.3" . c-mode))с вектором всё ок, но список не работает.. вывод M-x semantic-analyze-debug-assist:Unable to find dattyape for: "class std::list intv".Declared type is: "class std::list {}"Raw data type is: ("std::list" type (:template-specifier (("int" type nil nil nil)) :type "class") nil nil)Semantic could not find this data type in any of its global tables.Semantic locates dattyapes through either the local scope, or the globaltypecache.Local Scope Information: * Tag Class Constraint against SCOPE: (type) * No known parents in current scope. * No known symbols currently in scope. * No known symbols declared locally.Semantic creates and maintains a type cache for each buffer.If the type is a global type, then it should appear in they typecache.To examine the typecache, type: M-x semanticdb-typecache-dump RET [ Do It ]Current typecache Statistics: 0 types global in this file 144 types from includes.If the dattyape is not in the typecache, then your includepath may be incorrect. Include Path Summary:The system include path is: /usr/include/ /usr/local/include/boost-1_37/ /usr/include/c++/4.3/ /usr/include/c++/4.3/i486-linux-gnu/ /usr/include/c++/4.3/backward/ /usr/local/include/ /usr/lib/gcc/i486-linux-gnu/4.3.3/include/ /usr/lib/gcc/i486-linux-gnu/4.3.3/include-fixed/Include Summary: /home/garick/tmp/exam.ccexam.cc contains 4 includes. Unknown Includes: 0 Unparsed Includes: 0 Parsed Includes: 4A likely cause of an unfound tag is missing include files.The following includes were not found: extern "C" shlib-compat.h gnu/stubs-64.h bits/gthr-solaris.h bits/gthr-dce.h bits/gthr-posix95.h sys/_types.h machine/ansi.hто же выводилось для вектора до изменения конфига.. | |
- | + |
Current revision as of 15:19, 14 April 2013
You can add to, modify, or delete any part of this page or other pages in the EditThis Wiki. Click the "edit" tab at the top to edit the whole page, or one of the "edit" links within the page to edit that specific part. Then click save page, and you will have changed the page! Have fun, and edit the Problems and suggestions page to post questions.
If you delete someone else's information make sure it is for a good reason. If you have found that someone trashed a page by messing up what has been done so far click on the "history" tab at the top of the page, and click the second date from the top. If the page is still messed up, try the third, the fourth, etc. Once you find the highest-up version that is not messed up, click the edit tab and save it. If people disagree about what a certain page should contain, they can discuss it in "discussion", a tab at the top of the page.
I sreacehd a bunch of sites and this was the best.
[edit] External Links
For more help, check out these Wikipedia links:
- Help Contents
- Frequently Asked Questions (FAQ) page
- FAQ on Editing a wiki This answers a few basic questions.
- Editing Help page This goes into detail on how to do certain things.
Also see:
- Editing Help, another independent wiki's version of this page (more detail).
спасибо, решилось добавлением в конфиг:(semantic-add-system-include "/usr/include" 'c++-mode)(semantic-add-system-include "/usr/include" 'c-mode)раньше было:(add-to-list 'auto-mode-alist '("/usr/include/c++/4.3" . c++-mode))(add-to-list 'auto-mode-alist '("/usr/include/c++/4.3" . c-mode))с вектором всё ок, но список не работает.. вывод M-x semantic-analyze-debug-assist:Unable to find dattyape for: "class std::list intv".Declared type is: "class std::list {}"Raw data type is: ("std::list" type (:template-specifier (("int" type nil nil nil)) :type "class") nil nil)Semantic could not find this data type in any of its global tables.Semantic locates dattyapes through either the local scope, or the globaltypecache.Local Scope Information: * Tag Class Constraint against SCOPE: (type) * No known parents in current scope. * No known symbols currently in scope. * No known symbols declared locally.Semantic creates and maintains a type cache for each buffer.If the type is a global type, then it should appear in they typecache.To examine the typecache, type: M-x semanticdb-typecache-dump RET [ Do It ]Current typecache Statistics: 0 types global in this file 144 types from includes.If the dattyape is not in the typecache, then your includepath may be incorrect. Include Path Summary:The system include path is: /usr/include/ /usr/local/include/boost-1_37/ /usr/include/c++/4.3/ /usr/include/c++/4.3/i486-linux-gnu/ /usr/include/c++/4.3/backward/ /usr/local/include/ /usr/lib/gcc/i486-linux-gnu/4.3.3/include/ /usr/lib/gcc/i486-linux-gnu/4.3.3/include-fixed/Include Summary: /home/garick/tmp/exam.ccexam.cc contains 4 includes. Unknown Includes: 0 Unparsed Includes: 0 Parsed Includes: 4A likely cause of an unfound tag is missing include files.The following includes were not found: extern "C" shlib-compat.h gnu/stubs-64.h bits/gthr-solaris.h bits/gthr-dce.h bits/gthr-posix95.h sys/_types.h machine/ansi.hто же выводилось для вектора до изменения конфига..