待辦事項 #45853

S3_0 array-bounds compiler error in Xenial

啟用日期: 2022-10-13 22:56 最後更新: 2022-10-13 23:06

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
8
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

Now that we've again enabled array-bounds warnings in S3_0 also, build on Xenial seems to fail. It complains about activity_id_exists(). I don't see anything wrong with the function, and the fact that no newer compiler (with better heuristics) gives such warning leads me to believe it's a false positive. There's no similar problem with other branches.

So I think it's enough to just rearrange the code so that gcc-5.4 no longer complains about it, and not to look for an actual bug.

Will treat as a build emergency.

Ticket History (3/4 Histories)

2022-10-13 22:56 Updated by: cazfi
  • New Ticket "S3_0 array-bounds compiler error in Xenial" created
2022-10-13 23:05 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
評語

Patch to push to S3_0 only attached.

2022-10-13 23:06 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入