Wednesday, January 23, 2013

Re: Quickfix Has Wrong Path to Source Files

On Wed, Jan 23, 2013 at 10:28 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
>
> On Wednesday, January 23, 2013 11:52:23 AM UTC-6, Stephen Rasku wrote:
> >
> > ccfilter is distributed
> > with vim but I think you need to compile it separately.
>
> I didn't know this tool existed. Thanks!

No problem.

>
> > The solution
> > may be to stop using ccfilter and just write a compatible errorformat.
> >
>
> Maybe. I see from the man page that ccfilter also allows specifying the
> compiler. Maybe you just need to do that? If not writing your own
> errorformat should also work, but I know from experience it's easy to miss
> some message formats on compilers which don't use one consistent format for
> all messages.

I solved this by modifying ccfilter to not prepend the current
directory to the error message. It works for me but I'm not sure it's
a good generic solution.

...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: