待辦事項 #48034

CodingStyle: C23 nullptr

啟用日期: 2023-05-12 23:06 最後更新: 2023-05-18 00:47

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

細節

Update CodingStyle to reflect the fact that 'nullptr' is supported also in C code in freeciv-3.3

While I'd like even recommend it over 'NULL', more importantly 'nullptr' should not leak (in backports) to freeciv-3.2, wording CodingStyle so it would not push people to take unnecessary risks (with code that might get backported later).

Ticket History (3/4 Histories)

2023-05-12 23:06 Updated by: cazfi
  • New Ticket "CodingStyle: C23 nullptr" created
2023-05-12 23:07 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
2023-05-18 00:47 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

Attachment File List

編輯

Please login to add comment to this ticket » 登入