MATLAB Answers

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

19 views (last 30 days)
Lauren Rush
Lauren Rush on 26 Jun 2019
Answered: Murthy Raju Jaina on 24 Nov 2020
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?

  0 Comments

Sign in to comment.

Answers (2)

Community Treasure Hunt

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

Start Hunting!