Is it possible to set integer enumeration as an option in Polyspace configuration?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello,
the tasking compiler allows the option "integer enumeration" where the compiler always treats enum-types as int as defined in the ISO C99 and C11 standard. With the predefined settings of the target and compiler settings of Polyspace R2020a I cannot configure the settings to that specific behavior. Is there a possibility how to simulate that compiler behavior?
Thank you and best regards,
Birgit
댓글 수: 0
채택된 답변
Bruno Richard
2020년 5월 4일
Hello Birgit,
Unfortunately we do not have this capability in Polyspace as of now. We have created an internal request for a new feature about this.
However in order to help you solve your issue, can you describe in more detail a case where the sizeof enums is not correct in Polyspace and how this specific case prevents you from getting good results?
Thanks,
Bruno.
추가 답변 (1개)
Tom
2023년 6월 19일
Is there an update to this feature? Or is there any workaround? We are currently facing the same problem.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Target and Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!