bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when does gtags generate empty GTAGS, GPATH, GRTAGS?


From: liang tang
Subject: Re: when does gtags generate empty GTAGS, GPATH, GRTAGS?
Date: Sat, 20 Nov 2021 16:47:56 +0800

turn on -w flag, the waring output is as follows

Warning: cannot stat 'abs'. ignored.
Warning: cannot stat 'lib32_debug'. ignored.
Warning: cannot stat 'lib32_release'. ignored.
Warning: cannot stat 'lib64_debug'. ignored.
Warning: cannot stat 'lib64'. ignored.
Warning: cannot stat 'lib64_release'. ignored.
Warning: different level before and after #define macro. reseted.
Warning: '{' doesn't exist after 'operator'.
Warning: failed to parse template
Warning: missing left '{'
Warning: missing left '{' (at 33).
Warning: missing left '{' (at 452).
Warning: missing left '{' (at 468).
Warning: missing left '{' (at 666).
Warning: missing left '{' (at 843).
Warning: missing namespace block.
Warning: Out of function.    break
Warning: Out of function.     case
Warning: Out of function.    catch
Warning: Out of function. continue
Warning: Out of function.  default
Warning: Out of function.   delete
Warning: Out of function.       do
Warning: Out of function.     else
Warning: Out of function.      for
Warning: Out of function.       if
Warning: Out of function.   return
Warning: Out of function.      try
Warning: Out of function.    while
Warning: template <...> isn't closed.
Warning: uneven level.
Warning: unexpected eof.
Warning: unmatched {} block. (last at level -1.)
Warning: unmatched {} block. (last at level 1.)
Warning: unmatched {} block. (last at level 16.)
Warning: unmatched {} block. (last at level 2.)
Warning: unmatched {} block. (last at level 3.)
Warning: unmatched {} block. (last at level 4.)
Warning: unmatched {} block. (last at level 5.)
Warning: unmatched #if block. (last at level 1.)
Warning: unmatched #if block. (last at level 2.)
Warning: unmatched #if block. (last at level 6.)
Warning: unmatched #if block. reseted.

liang tang <liangtang20080522@gmail.com> 于2021年11月20日周六 下午4:39写道:

gtags (Global) 6.6.7
Powered by Berkeley DB 1.85.
Copyright (c) 1996-2021 Tama Communications Corporation
License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl.html>

gtags command: gtags --skip-unreadable --skip-symlink=f
GTAGS and GRTAGS are empty while GPATH is not empty.
image.png

liang tang <liangtang20080522@gmail.com> 于2021年11月20日周六 下午4:07写道:
Hi
Sometimes using gutentags with gtags will generate empty GTAGS, GPATH, GRTAGS. I and others come across this question.
Look https://github.com/ludovicchabant/vim-gutentags/issues/225 for detailed background. I tried many ways mentioned in the link but cannot solve the problem.

How can we solve this? I guess some unsupported files may corrupt gtags files.

Appreciate your help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]