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!