Ticket #44868

Clang analyze warnings from tolua generated code

오픈 날짜: 2022-06-19 19:24 마지막 업데이트: 2022-08-05 13:56

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

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 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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-07-25 19:49 Updated by: cazfi
2022-07-30 11:57 Updated by: cazfi
댓글 올리기

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
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login