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!