Hello, I have troubles with the default compiler error format matching libtool's -version-info option that appears in make output and takes three colon-separated numbers as its argument, e.g.
-version-info 1:2:3 When vim sees this it takes it for an error location and opens a file with a very silly name as the `source file' -- try loading the attached file as errorfile (note that while the splitting of long errorfile lines does not improve the situation, it is not the primary problem). I tried to fix the error format with things like :set errorformat+=%-G%.%#-version-info without any effect. Even just :set errorformat=%-G%.%#-version-info,%f:%l:%m does not ignore lines contaning `-version-info'. I probably misundertood something in the error format syntax. Can anyone help me? TIA, Yeti -- http://gwyddion.net/ ==== errorfile ==================================================== if /bin/bash ../libtool --tag=CC --mode=compile /home/yeti/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GwyDraw\" -I/home/yeti/opt/gwyddion/include -Wall -W -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef -Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign -Wno-format-zero-length -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -fno-trapping-math -fno-math-errno -fno-strict-aliasing -ggdb -O2 -MT gwypixfield.lo -MD -MP -MF ".deps/gwypixfield.Tpo" -c -o gwypixfield.lo gwypixfield.c; \ then mv -f ".deps/gwypixfield.Tpo" ".deps/gwypixfield.Plo"; else rm -f ".deps/gwypixfield.Tpo"; exit 1; fi /home/yeti/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GwyDraw\" -I/home/yeti/opt/gwyddion/include -Wall -W -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef -Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign -Wno-format-zero-length -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -fno-trapping-math -fno-math-errno -fno-strict-aliasing -ggdb -O2 -MT gwypixfield.lo -MD -MP -MF .deps/gwypixfield.Tpo -c gwypixfield.c -fPIC -DPIC -o .libs/gwypixfield.o /bin/bash ../libtool --tag=CC --mode=link /home/yeti/bin/gcc -Wall -W -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef -Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign -Wno-format-zero-length -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -fno-trapping-math -fno-math-errno -fno-strict-aliasing -ggdb -O2 -L/home/yeti/opt/gwyddion/lib -o libgwydraw2.la -rpath /home/yeti/opt/gwyddion/lib -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgobject-2.0 -lglib-2.0 -version-info 0:1:0 gwydraw.lo gwyglmaterial.lo gwygradient.lo gwypixfield.lo gwyrgba.lo gwyselection.lo rm -fr .libs/libgwydraw2.la .libs/libgwydraw2.lai .libs/libgwydraw2.so .libs/libgwydraw2.so.0 .libs/libgwydraw2.so.0.0.1 /home/yeti/bin/gcc -shared .libs/gwydraw.o .libs/gwyglmaterial.o .libs/gwygradient.o .libs/gwypixfield.o .libs/gwyrgba.o .libs/gwyselection.o -L/home/yeti/opt/gwyddion/lib /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libgwydraw2.so.0 -o .libs/libgwydraw2.so.0.0.1 (cd .libs && rm -f libgwydraw2.so.0 && ln -s libgwydraw2.so.0.0.1 libgwydraw2.so.0) (cd .libs && rm -f libgwydraw2.so && ln -s libgwydraw2.so.0.0.1 libgwydraw2.so) creating libgwydraw2.la (cd .libs && rm -f libgwydraw2.la && ln -s ../libgwydraw2.la libgwydraw2.la)