PolyspaceAsYouCode analyse header files
Show older comments
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 ?
Answers (1)
Christian Bard
on 6 Dec 2022
0 votes
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
Categories
Find more on Get Started with Polyspace Bug Finder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!