Bug#621693: vim: Vim gets confused by gcc 4.5 "in file included from" messages

Mikko Rasa tdb at tdb.fi
Thu Apr 7 17:00:03 UTC 2011

Package: vim
Version: 2:7.3.035+hg~8fdc12103333-1
Severity: minor

In GCC 4.5 error reporting was changed to report character position on
the line in addition to the line number.  For the most part Vim handles
this just fine, but seems to get confused by the lack of an actual
error message on certain lines.  An example of such a message is "In
file included from foo.c:1:0:".  Vim appears to think that "0:" is the
error message and that the error is in the file "In file included from
foo.c" on line 1.  I use switchbuf=usetab,newtab (the bug is
reproducible without the setting, but manifests a bit differently), so
this results in Vim opening lots of unnecessary tabs when going through
a quickfix list with the :cn command.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-core2 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim depends on:
ii  libacl1      2.2.49-4                    Access control list shared library
ii  libc6        2.11.2-11                   Embedded GNU C Library: Shared lib
ii  libgpm2      1.20.4-3.3                  General Purpose Mouse - shared lib
ii  libncurses5  5.8+20110307-1              shared libraries for terminal hand
ii  libselinux1  2.0.98-1                    SELinux runtime shared libraries
ii  vim-common   2:7.3.035+hg~8fdc12103333-1 Vi IMproved - Common files
ii  vim-runtime  2:7.3.035+hg~8fdc12103333-1 Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
pn  vim-scripts                   <none>     (no description available)

-- no debconf information

More information about the pkg-vim-maintainers mailing list