Is it possible to set integer enumeration as an option in Polyspace configuration?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Birgit Roithner
le 30 Avr 2020
Réponse apportée : Tom
le 19 Juin 2023
Hello,
the tasking compiler allows the option "integer enumeration" where the compiler always treats enum-types as int as defined in the ISO C99 and C11 standard. With the predefined settings of the target and compiler settings of Polyspace R2020a I cannot configure the settings to that specific behavior. Is there a possibility how to simulate that compiler behavior?
Thank you and best regards,
Birgit
0 commentaires
Réponse acceptée
Bruno Richard
le 4 Mai 2020
Hello Birgit,
Unfortunately we do not have this capability in Polyspace as of now. We have created an internal request for a new feature about this.
However in order to help you solve your issue, can you describe in more detail a case where the sizeof enums is not correct in Polyspace and how this specific case prevents you from getting good results?
Thanks,
Bruno.
1 commentaire
Plus de réponses (1)
Tom
le 19 Juin 2023
Is there an update to this feature? Or is there any workaround? We are currently facing the same problem.
0 commentaires
Voir également
Catégories
En savoir plus sur Command-Line Only Options 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!