On Friday, November 13, 2015 at 12:01:08 PM UTC-5, Ben Fritz wrote:
> On Thursday, November 12, 2015 at 3:01:56 PM UTC-6, [email protected] wrote:
> > 
> > It is possible that one call to the make process will result in several 
> > compilers being used.
> > 
> 
> Yes, but do you do this? If not, it's easier to just set the errorformat for 
> the current compiler.
> 
> > From reading the vim help I was under the impression that it is possible to 
> > setup errorformat so that it can match output from multiple compilers.  If 
> > that is not possible, I can change my setup.
> > 
> 
> It is possible. However, the FIRST match for the line in the errorformat is 
> always used. So if your javac errorformat contains patterns that also match 
> lines from clang, and they come before clang in your errorformat, then they 
> will be used instead and could be wrong.
> 
> Probably at the very least, you'll need to interleave errorformats from the 
> two compilers to prevent more generic patterns from one from overriding more 
> specific patterns from the other. But in some cases you may not be able to 
> reconcile the two.

Yes, occasionally I will run a build that results in several compilers being 
used.

I figured out what the problem was.  One of the earlier formats was to generic 
and was causing some errors to be recognized incorrectly.

Thanks,
Matt

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to