Why does Polyspace mark an include as useless when it is clearly being used by the code?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Polyspace is marking some includes as useless when they are clearly being used in the file.
In my case an implemenation .c file has only 1 include, the coresponding header file, being marked as useless.
Is Polyspace sensitive to code optimization?
1 commentaire
Subhajyoti Halder
le 5 Juil 2023
Hi Rise,
If possible, share the reproduction steps for your issue. That would be helpful in understanding your problem.
Réponses (1)
Christian Bard
le 17 Juil 2023
I assume that you are speaking about BF defect which checks for useless include files in a source code. To answer your question, Polyspace is not senstive to code optimization, especially with such kind of defect.
Would you please contact Technical Support to share the reproduction steps for your issue. As, Subhajyoti Halder said, It would be helpful in understanding your problem.
0 commentaires
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!