|
From: | Shigio YAMAGUCHI |
Subject: | Re: GNU Global cannot find definitions in standard libraries |
Date: | Wed, 16 Apr 2014 17:43:26 +0900 |
Part of std::map template class:template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>, typename _Alloc = std::allocator<std::pair<const _Key, _Tp> > > class map { public: typedef _Key key_type; typedef _Tp mapped_type; typedef std::pair<const _Key, _Tp> value_type; typedef _Compare key_compare; typedef _Alloc allocator_type; ..... }
- What is your environment (OS)?
- Ubuntu 13.10
- Which version of GLOBAL are you using?
- 6.2.12
- What did you do? (command line)
- Create gtags files from /usr/include, which includes standard header files from C++ and search for its definitions, by the following steps:
- mkdir ~/.gtags
- cd ~/.gtags
- ln -s /usr/include include
- gtags
- global -d map (or set, or list....)
- What did you expect from it?
- Displayed correct path to stl_map.h because std::map is located in /usr/include/c++/4.8/bits/stl_map.h
- What was occurred? (as is)
- A list of results from other header files, but no result for "/usr/include/c++/4.8/bits/stl_map.h", which is the path to stl_map.h. Seems like gtags having problem parsing template objects? The current list of results:
include/boost/container/map.hpp
include/boost/fusion/container/map/detail/map_forward_ctor.hpp
include/boost/graph/distributed/adjacency_list.hpp
include/boost/icl/map.hpp
include/boost/locale/boundary/index.hpp
include/boost/mpi/python/serialize.hpp
include/boost/msm/back/dispatch_table.hpp
include/boost/msm/back/metafunctions.hpp
include/boost/polygon/detail/polygon_45_touch.hpp
include/boost/unordered/detail/unique.hpp
include/c++/4.7.3/ext/throw_allocator.h
include/c++/4.7/ext/throw_allocator.h
include/c++/4.8.2/ext/throw_allocator.h
include/c++/4.8/ext/throw_allocator.h
include/llvm-3.4/llvm/Analysis/PathProfileInfo.h
include/llvm-3.4/llvm/Bitcode/Archive.h
include/llvm-3.4/llvm/CodeGen/LiveStackAnalysis.h
include/llvm-3.4/llvm/MC/MCContext.h
include/llvm-3.4/llvm/MC/MCDwarf.h
include/qt4/Qt/qmatrix4x4.h
include/qt4/QtGui/qmatrix4x4.hIt can find map from boost but not from STL.Regards,Tu.
_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global
[Prev in Thread] | Current Thread | [Next in Thread] |