- copy xiosbase near configuration file and rename it as ps_xiosbase
- Edit ps_xiosbase and replace at line 290 _RERAISE; with ;
- relaunch using -include path_to/ps_xiosbase
Polyspace error during Normalization of xiosbase include file
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am facing following Polyspace error while analyzing c++ code. Can any one help me in resolving this issue. Thanks in advance.
"c:\Program File (x86)\Microsoft Visual Studio 9.0\include\xiosbase, line 290 (column 13): Limitation: Unauthorized throw outside of the handler. This construction is not supported by polyspace Verifier. The computation has been halted"
댓글 수: 0
답변 (2개)
Christian Bard
2012년 6월 14일
The way to workaround this issue is to follow these steps:
ps_xiosbase will then be used before xiosbase and allows to workaround limitation
댓글 수: 0
Christian Bard
2012년 9월 21일
Another way to workaround the limitation consists in relaunching with option –functions-to-stub std::ios_base::clear. It will force Polyspace to stub all clear() methods inside ios_base class even if bodies have been provided.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting in Polyspace Products for Ada에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!