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: Wed, 24 Nov 2021 10:15:17 +0800

By the way, following gtags warning maybe not right. when using some macro definition, such as '#define DATA_NAMESPACE_BEGIN namespace  data {;'  warning such as "missing left '{'" may be found in gtags output.
all the project can be compiled.

> 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 '{'

liang tang <liangtang20080522@gmail.com> 于2021年11月24日周三 上午10:05写道:
I don't think so.
The big project which has a long time develop history may have something gtags cannot generate the right file.  You may see  https://github.com/ludovicchabant/vim-gutentags/issues/225, many people come across this problem, not only me. so I think this is gtags bug.
If some files cannot build gtags file, use '--skip-unreadable  --skip-symlink' cannot work. Now we cannot know why gtags generate empty files.



Shigio YAMAGUCHI <shigio@gnu.org> 于2021年11月24日周三 上午7:42写道:
> Gtags works well on small project but fails on big project.

Why did you find out that the size of the project was the cause?
I think you should start by simplifying the reproduction environment.
How about solving the following warnings first?

> 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 '{'
...

I suggest moving this thread to the help mailing list.

Regards,
Shigio
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

reply via email to

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