Polyspace: Errors from Using Namespace std Without Prefix

6 ビュー (過去 30 日間)
Zulham Mr
Zulham Mr 2022 年 4 月 23 日
コメント済み: Zulham Mr 2022 年 4 月 26 日
Hi guys,
I have problem in Polyspace stating that the global scope has no "mblen".
I have tried the solution by adding std in using std::mblen; and also adding -using-std in the Advanced Setting by retaining the current code.
All those works still give error.
Thank you in advance.

採用された回答

Anirban
Anirban 2022 年 4 月 25 日
Please contact MathWorks Technical Support for a full investigation.
If you run Polyspace on the simple example on the mblen reference page, this error does not seem to appear (with the last few releases of Polyspace). MathWorks Technical Support will need to look at your analysis log to figure out what might be happening. See also Contact MathWorks Technical Support for information on what details might be useful for Technical Support.
  1 件のコメント
Zulham Mr
Zulham Mr 2022 年 4 月 26 日
Thank you, it works with the mblen reference page example. I will check my project setup again.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by