Can I configure Polyspace Bug Finder to ignore compilation errors it's finding in C/C++ Standard Libraries?

11 次查看(过去 30 天)
I am trying to analyze code files that include C/C++ standard library functionality. At first I got compilation errors because I didn't include the path for the standard library from the compiler. I corrected this by following the guidance here: https://www.mathworks.com/help/bugfinder/ug/provide-standard-library-headers-for-polyspace-analysis.html, however now it is throwing compilation errors on these included files.
How can I ignore these errors as it's not the standard library I want analyzed? I want results for my source code.
Have I not configured enough in the settings for it to 'simulate' my compiler sufficiently?

回答(2 个)

Robert Jegeras
Robert Jegeras 2020-11-18
Did you get this working, I have a similiar problem right now on R2019b version of polyspace.

Murthy Raju Jaina
Murthy Raju Jaina 2020-11-24
Did you get this working, I too have a similiar problem on R2019a version of polyspace.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by