2010-08-24 95 views
1

Splint在查找解析错误后没有继续检查。我已经尝试+ trytorecover选项也没有改变。如何解决Splint中的解析错误

请让我知道如何使用+ trytorecover让Splint在解析错误后继续尝试。

这是我收到的东西,

161: splint +trytorecover spy.c 
Splint 3.1.1 --- 19 Jul 2006 

spy.c:41:12: Parse Error: Non-function declaration: byte_4 : 
       int. Attempting to continue. 
spy.c:41:12: Cannot recover from parse error. 
*** Cannot continue. 

回答

1

你能后的代码片段,这是造成错误?

更新:

顺便说一句 - 我正面临着夹板解析错误(没有类似您发布的一个),并张贴在夹板邮件列表查询。我得到了及时的回应。我后来搜索了“夹板非功能声明”,发现以下查询及其答案:splint mailing list query

它与您发布的类似。可能会有所帮助。