It is possible to add a Polyspace comment in a sigle line to comment a MISRA rule AND a RTE warning?

조회 수: 9 (최근 30일)
Hello all, I have a question about Polyspace Code Prover R2014b:
- It is possible to add a Polyspace comment into a sigle line to comment one MISRA rule AND one RTE warning in a same time?
e.g.:
/* polyspace< MISRA-C3:8.9 ; RTE:NIV : Not a defect : Justify with annotations > explanation */

채택된 답변

Alexandre De Barros
Alexandre De Barros 2015년 7월 10일
Hello !
You can't mix two types in the same review comment but you can use two consecutive comments:
/* polyspace< MISRA-C3:8.9 : Not a defect : Justify with annotations > explanation 1*/
/* polyspace< RTE:NIV : Not a defect : Justify with annotations > explanation 2*/
Best regards,
Alexandre

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polyspace Code Prover에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by