Wednesday, January 23, 2013

Re: Quickfix Has Wrong Path to Source Files

On Wed, Jan 23, 2013 at 8:17 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
>
> Your error format "%f:%l:%c:%t:%m" will not match your example error output:
>
> /local/work/dept/user/repo.git/src/fd_set/src/fd_set.c:151: error: 'struct fd_group' has no member named 'fg_maxfd'
>
> because there is no column number (%c) and because the %t item only matches a single character, not the full word "error", and because there are spaces in your error message not accounted for in your errorformat.
>
> I'm not actually sure how Vim is recognizing it as an error in the first place, if it is at all, unless your errorformat is not what you think it is.
>
> What does the ccfilter command in your shellpipe do? Maybe that is modifying the compiler output as seen on the command line?

ccfilter converts the make output to the errorformat format. I can
see that it's prepending build/i586-linux/ when I pipe the output
through ccfilter. I'll look at why this is. ccfilter is distributed
with vim but I think you need to compile it separately. The solution
may be to stop using ccfilter and just write a compatible errorformat.

...Stephen

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: