代码之家  ›  专栏  ›  技术社区  ›  Thi

如何解决Splint中的解析错误

  •  1
  • Thi  · 技术社区  · 16 年前

    Splint没有继续,它在发现解析错误后正在检查。我也尝试了+trytorecover选项,但没有改变。

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

    这是我收到的,

    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 回复  |  直到 16 年前