Here are some lines I added to my errorformat to ignore:
In file included from... with and without column.

%-GIn\ file\ included\ from\ %f:%l:%c\\,
%-GIn\ file\ included\ from\ %f:%l\\,
%-Gfrom\ %f:%l\\,
%-Gfrom\ %f:%l:%c\\,


Chris wrote:
> gcc 4.5 unreleased contains a column number for the "In file included from"
> gcc 4.4 did not.
> errorformat does not skip over the first line.
> /opt/gcc-4.5/bin/g++ -std=c++0x -fshow-column c.cpp
> In file included from a.h:3:0,
> from c.cpp:2:
> b.h:3:1: error: ‘dscfsdjvcsdfvsdf’ does not name a type
> c.cpp:9:17: error: ISO C++ forbids declaration of ‘Params’ with no type
> c.cpp:9:24: error: expected ‘,’ or ‘...’ before ‘&’ token
> c.cpp: In function ‘int main()’:
> c.cpp:16:2: error: ‘Params’ was not declared in this scope
> c.cpp:16:9: error: expected ‘;’ before ‘p’
> c.cpp:17:7: error: ‘p’ was not declared in this scope
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui