Compiler Polyspace bug finder error
3 ビュー (過去 30 日間)
古いコメントを表示
Containing many errors while performing polyspace like
1. In the compiler header file
- expected a type specifier
- "__attribute__" has already been defined-Even the specified variable is defined.
2.In source files(.c files)
- Files are already defined but it is showing that it is undefined.(For Example-" variable name " is undefined)
1 件のコメント
Peter Bauer
2020 年 9 月 17 日
I came across the same issue. We are using an in-house embedded Compiler supporting some "__attribute__" declarations. What is the recommended way to deal with this?
A workaround could be to define all the "__attribute__" variants as empty strings with the "-D" option ...?
回答 (1 件)
Christian Bard
2021 年 3 月 9 日
That is recommended to use polyspace-configure on the build chain to get the set of options and target values to match your compiler. See doc below:
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!