#48034: CodingStyle: C23 nullptr Open Date: 2023-05-12 17:06 Last Update: 2023-05-12 17:06 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48034 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48034 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-05-12 17:06 Updated by: cazfi * New Ticket "CodingStyle: C23 nullptr" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.3.0 Component: Documentation Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: 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 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/48034 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48034