#47835: Freecify __builtin_unreachable(); Open Date: 2023-04-10 18:20 Last Update: 2023-04-19 11:15 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47835 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47835 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-04-19 11:15 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: I got clang warning that looks like best way to fix it would be using '__builtin_unreachable();' Just we can't use that unconditionally assuming all compilers to support it. So we need to make freeciv version that does not break build with any compiler. -- 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/47835 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47835