Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Quickfix不能跳转
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ricky  
View profile   Translate to Translated (View Original)
 More options Nov 12, 5:01 am
From: "Ricky" <richi...@live.com>
Date: Thu, 12 Nov 2009 18:01:39 +0800
Local: Thurs, Nov 12 2009 5:01 am
Subject: Quickfix不能跳转
Hi All

请教一个关于Quickfix的问题.

以下是编译器错误消息的示例,STATEMENT泛指一行语句:
IBM1211I W 426.0 Source with length 2 is longer than the target VAR.
                 STATEMENT
IBM1211I W 522.0 Source with length 2 is longer than the target VAR.
                 STATEMENT

Quickfix需要用到的errorformat这样定义的:
errorformat=%AIBM%nI\ %t\ %l.0\ %m,%Z%m

Quickfix也能识别这个错误文件和格式,显示成这样:
|426 warning 1211| Source with length 2 is longer than the target VAR.
STATEMENT
|522 warning 1211| Source with length 2 is longer than the target VAR.
STATEMENT

但是我在这两行上按回车,不能跳转到426或者522行上面去,只能用:cn,:cp命令来跳转,如果错误多就很麻烦了,如何能解决呢?

还有就是这个编译器有点傻,会展开SQL语句,这样造成编译结果里的行号和实际代码行号不匹配,但是通过语句能准确定位,Quickfix是否有查找内容定位的 功能?

不知道我的问题描述得是否足够清楚,多谢先!


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ricky WU  
View profile   Translate to Translated (View Original)
 More options Nov 14, 7:54 am
From: Ricky WU <richi...@live.com>
Date: Sat, 14 Nov 2009 04:54:08 -0800 (PST)
Local: Sat, Nov 14 2009 7:54 am
Subject: Re: Quickfix不能跳转
On 11月12日, 下午6时01分, "Ricky" <richi...@live.com> wrote:

这问题解决了,必须有%f参数,表示源文件名
errorformat=%A%f\ IBM%nI\ %t\ %l.0\ %m,%Z%m

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google