Polyspace-bug-finder raises AUTOSAR C++14 M2-10-1 issues also including external headers.
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
If using polyspace-bug-finder with Visual Studio Compiler Version 16, M2-10-1 are raised which includes external header files.
Considering following variable declaration:
const double y1{0.};
Will raise following issue:
Different identifiers shall be typographically unambiguous.
Identifiers 'y1' (XXXX) and '_y1' (corecrt_math.h line 546) differ by the presence/absence of the underscore character.
where corecrt_math.h is located here "C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\ucrt" and this directory is included using the -I flag.
Is there a way to exclude such issues?
Thanks!
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Run Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!