gpt4 book ai didi

c - PC-Lint 错误 : Error 307: Can't open indirect file 'gcc-include-path.lnt'

转载 作者:太空宇宙 更新时间:2023-11-04 07:02:17 25 4
gpt4 key购买 nike

我正在尝试在 Windows 上使用 PC-Lint 对 C 文件进行静态代码分析。我安装了软件并运行了 gcc 编译器 的配置设置,我在配置目录中获得了以下文件:

co-gcc.h, co-gcc.lnt, env-ecl-console.lnt, filea.cpp, fileb.cpp, LIN.BAT,
lset.bat, options.lnt, std.lnt, std_a.lnt

但是,当我尝试通过从配置目录中键入 >lin filea fileb 来运行测试示例时,我收到以下错误:

co-gcc.lnt  37  Error 307: Can't open indirect file 'gcc-include-path.lnt'

我们如何获取 gcc-include-path.lnt 文件?

最佳答案

通过使用 makefile co-gcc.mak< 创建 lint_cmac.h、lint_cppmac.h、gcc-include-path.lnt 和 size-options.lnt 文件解决了错误/strong> 位于 PC-lint9.00h\lnt 文件夹中。

关于c - PC-Lint 错误 : Error 307: Can't open indirect file 'gcc-include-path.lnt' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36570114/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com