Thursday, March 7, 2013

Re: errorformat setup

On Thursday, March 7, 2013 12:17:26 PM UTC-5, FlashBurn wrote:
> I'm having trouble figuring out how to setup errorformat. I know the format of my compiler and lint tool is setup as follows:
>
> "<filename>",<linenumber> <error type> <error number>: <error message>
>
> but right from the start I'm having an issue. How do I specify quotation marks in the error format?
>
> Also I have a side question. errorformat help talks about %*{conv}, %O/P/Q. I was not able to find definitions for those? Can anyone point me in the right direction?
>
> Any help is appreciated.

I'm able partially to setup my errorformat but for some reason it won't recognize the error number

Here is partial output from my compiler

"C:\Documents and Settings\user\Projects\MyProject\trunk\src\myfile.c",126 Info 754: local structure member 'myStructMember' (line 126, file C:\Documents and Settings\user\Projects\MyProject\trunk\src\myfile.c) not referenced

I incrementally tried to setup my errorformat
This one works but it is not exactly what I need
set errorformat=\"%f\"\\,%l\ \ %t%s

For some reason this one stops working
set errorformat=\"%f\"\\,%l\ \ %t\ %s

Does anybody know what is the issue?

Any help is appreciated.

--
--
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/groups/opt_out.

No comments: