expected a declaration error using polyspace
9 ビュー (過去 30 日間)
古いコメントを表示
While using polyspace to run MISRA check, I get this error "expected a declaration" for configration bits. How can I fix this?

0 件のコメント
回答 (1 件)
Anirban
2020 年 1 月 21 日
編集済み: Anirban
2020 年 1 月 21 日
Hi Satya,
It looks like the error appears on a macro. Is the macro _CONFIG (or a macro used in it) not defined previously? If it is defined, for some reason, Polyspace cannot access the definition.
You can see some of the common reasons for the error here: https://www.mathworks.com/help/codeprover/ug/undeclared-identifier.html
But your specific case, please contact MathWorks Technical Support. See here: https://www.mathworks.com/help/codeprover/ug/obtain-configuration-information.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Run Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!