PolyspaceAsYouCode analyse header files
显示 更早的评论
If I analyse header files with PolyspaceAsYouCode plugin I got errors if types defined in other header files. If I analyse C-files it works.
How it is possible to analyse header files with subsequent definitions ?
回答(1 个)
Christian Bard
2022-12-6
0 个投票
I assume that you did set build in PolyspaceAsYouCode plug-in with a Polyspace build options file.
In order that PaYC would analyse header files, I guess, the build options file should contain an entry allowing to provide information to build header files.
See doc: here https://www.mathworks.com/help/bugfinder/ug/generate-options-for-polyspace-as-you-code-analysis-in-visual-studio-code.html
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Polyspace Bug Finder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!