identifier "oo" is undefined error in polyspace bug finder

10 次查看(过去 30 天)
When I run Polyspace, I get "identifier 'oo' is undefined" error.
I need to specify a relative path of header file which defines identifier 'oo' instead of absolute path to solve the problem.
But, I don't want to fix my codes which have absolute path of header files in all files.
So, what should I do to fix this error instead of changing the path of all header files "absolute" to "relative"?

回答(1 个)

Anirban
Anirban 2023-1-18
Do you mean that you have a #include to a header referred by it's absolute path? This should be automatically detected without even having to add the include folder to a project.

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by