vim-gutentags icon indicating copy to clipboard operation
vim-gutentags copied to clipboard

E472:Error detected while processing function

Open Cloudprogram opened this issue 5 years ago • 2 comments

Describe the bug Describe what the bug is about, and what you expected. Don't forget to format things nicely with Markdown. If applicable, post screenshots.

Steps to reproduce

  1. open file
  2. gutentags start to work for building tags
  3. ctrl + ] jump to definetion

Share your setup

  • What OS and version of Vim are you using? vim8.1

  • What version of ctags, gtags, or whatever do you have installed? universal-ctags/ctags

  • Are you using g:gutentags_cache_dir? yes Post the logs

  • Run :let g:gutentags_trace = 1.

  • Reproduce the bug.

  • Run :messages and show the messages that Gutentags posted.

  • Look for the tags.log file that Gutentags' script left behind, and post its contents. E--program-cpp-test-.tags.log E---program-cpp-test-.tags.log

Additional context Add any other context about the problem here. QQ截图20190620204431

QQ截图20190620233058 QQ截图20190620233157 QQ截图20190620233247

Cloudprogram avatar Jun 20 '19 15:06 Cloudprogram

By the way, the file's path show in the window title is strange. before you press Ctrl-] the the file path is C:\xxx\xxxx\xxxx.c

first time you press Ctrl-] the file path is C:\\bbb\\dddd.c

second time you press Ctrl-] the file path is C:\\\\eee\\ffff.c

the third time the file path is C:\\\\\\eee\\ffff.c

if you press Ctrl-o the pathseps decrease.

If you switch between buffer after pressing Ctrl-], Vim may hang for a few seconds.

zoumi avatar Jan 21 '20 14:01 zoumi

I think I've seen before some weird problem where ctags generates tag files with double backslashes in the source paths, which then causes this kind of issue. I can't remember if it was a buggy ctags, or a buggy file list command though... I remember I fixed it but forgot to take notes.

ludovicchabant avatar Feb 06 '20 05:02 ludovicchabant