#42930: Recursive iterate_outward() macros cause shadow warnings Open Date: 2021-09-27 04:00 Last Update: 2021-09-27 04:40 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42930 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42930 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-09-27 04:40 Updated by: cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 2.6.6 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Seen when working on #42567: iterate_outward() within another iterate_outward() causes shadow warnings (*errors* with --enable-debug -> -Werror) as the macro uses hardcoded variable names. -- 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/42930 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42930