Ticket #44868

Clang analyze warnings from tolua generated code

Date d'ouverture: 2022-06-19 19:24 Dernière mise à jour: 2022-08-05 13:56

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

We get quite a many clang analyzer warnings from the code generated by tolua. What we can do to reduce the spam, is to fix these issues in our included tolua (and submit those fixes to upstream, too), and use it for clang analyzer runs - or even by default, as it's then going to produce safer code than upstream. (Note: Latest upstream release is about ten years old, and e.g. Debian and derivatives are shipping even older version)

Ticket History (3/6 Histories)

2022-06-19 19:24 Updated by: cazfi
  • New Ticket "Clang analyze warnings from tolua generated code" created
2022-07-21 15:48 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2022-07-25 19:49 Updated by: cazfi
2022-07-30 11:57 Updated by: cazfi
Commentaire

Some warnings seem to still be coming from the generated code, even with the patch from here. Regardless, plan to go forward with what we already have, as it's at least clear improvement. Will leave rest to a future ticket.

2022-08-05 13:56 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion