Polyspace-bug-finder raises AUTOSAR C++14 M2-10-1 issues also including external headers.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Run Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!