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 <liangtang20080...@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 <shi...@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 <shi...@gnu.org> >> PGP fingerprint: >> 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB >> >