#43835: cardinal_adjc_iterate requires center_tile to be an identifier Open Date: 2022-02-10 20:15 Last Update: 2022-02-18 19:39 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43835 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43835 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-18 19:39 Updated by: alienvalkyrie * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.0.1 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: The cardinal_adjc_iterate macro from common/map.h puts its given center_tile in a (macro-internal) identifier. This means it can't be used when center_tile is the result of an expression, without first storing that result in a variable. -- 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/43835 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43835