#44868: Clang analyze warnings from tolua generated code Open Date: 2022-06-19 13:24 Last Update: 2022-06-19 13:24 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44868 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44868 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-19 13:24 Updated by: cazfi * New Ticket "Clang analyze warnings from tolua generated code" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.3 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: 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 information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44868 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44868