|
From: | Павел Недев |
Subject: | RE: GTAGSLIBPATH definition search |
Date: | Wed, 25 Feb 2015 02:49:18 +0200 |
Hi,
Thank you for GTags, it's a great and very powerful tool!
I stumbled upon something recently, I do not know if this is a bug or just the expected behavior. Here is the scenario:
I make tags for my libraries includes (/usr/include). I set GTAGSLIBPATH to /usr/include.
I make tags for my project.
When I execute
global -dxMT FindReference
I get the definition of the 'FindReference' function (that's from my project) in the 'x' (ctags) format:
FindReference 541 src/GTags.cpp void FindReference()
When I execute
global -dxMT resolve
I get the following results for Boost 'resolve' function (from /usr/include):
Warning: source file './boost/asio/detail/resolver_service.hpp' is not available.
resolve 59 ../../../../usr/include/boost/asio/detail/resolver_service.hpp
resolve 91 ../../../../usr/include/boost/asio/detail/resolver_service.hpp
Warning: source file './boost/asio/detail/winrt_resolver_service.hpp' is not available.
resolve 93 ../../../../usr/include/boost/asio/detail/winrt_resolver_service.hpp
resolve 154 ../../../../usr/include/boost/asio/detail/winrt_resolver_service.hpp
Warning: source file './boost/asio/ip/basic_resolver.hpp' is not available.
resolve 99 ../../../../usr/include/boost/asio/ip/basic_resolver.hpp
resolve 124 ../../../../usr/include/boost/asio/ip/basic_resolver.hpp
resolve 188 ../../../../usr/include/boost/asio/ip/basic_resolver.hpp
resolve 215 ../../../../usr/include/boost/asio/ip/basic_resolver.hpp
Warning: source file './boost/iostreams/detail/resolve.hpp' is not available.
resolve 63 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 83 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 88 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 93 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 98 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 102 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 108 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 116 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 129 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 134 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 139 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 144 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 148 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 153 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 184 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 192 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 200 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 209 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 217 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
resolve 225 ../../../../usr/include/boost/iostreams/detail/resolve.hpp
Warning: source file './boost/scope_exit.hpp' is not available.
resolve 88 ../../../../usr/include/boost/scope_exit.hpp
resolve 94 ../../../../usr/include/boost/scope_exit.hpp
This is not exactly in 'x' (ctags) format - the match line from the file is actually missing.
Is this expected or am I doing the search the wrong way?
Thank you!
BR,
Pavel
_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global
[Prev in Thread] | Current Thread | [Next in Thread] |