On Thursday, November 12, 2015 at 3:01:56 PM UTC-6, matt.borges@sap.com 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.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment