#46367: is_..._unit_tile() not boolean Open Date: 2022-12-26 07:26 Last Update: 2023-01-04 22:12 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46367 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46367 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-01-04 22:12 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.6 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Similar to is_..._city_tile() function problem in #46306, is_..._unit_tile() functions too return pointers. Likely they too break C23 compilation (I just haven't tested past first #46306 error yet). In any case that API should be corrected. -- 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/46367 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46367