polyspace have a problem about "__interrupt", "@", etc
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
-
I use polyspace_2012a.
-
My project's compiler is Codewarrior_Ver10.7.
MCU is S12ZVC Seris.
when i run polyspace, i have problem below
------------------------------------------------------------
------------------------------------------------------------
expected a ";"
__interrupt void CanRxInterrupt_0(void);
^
------------------------------------------------------------
------------------------------------------------------------
How can i resolve this problem.
help me please.
댓글 수: 0
답변 (1개)
Alexandre De Barros
2017년 8월 10일
편집: Alexandre De Barros
2017년 8월 10일
Hello,
the keyword __interrupt is an extension of the CodeWarrior compiler. It is not Ansi. But to ignore it, you just need to add a new preprocessor macro:
__interrupt=
By doing this, Polyspace will ignore the occurrences of this keyword during the verification.
Now, you mention also other constructs, like the one starting with @ (probably to introduce an absolute address).
I would suggest to contact the support and tell them the target you are using with CodeWarrior (ColdFire, MPC...).
Regards,
Alexandre
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshoot Compilation Errors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!