#46575: Qt: qapp static, but expected globally available Open Date: 2023-01-21 14:50 Last Update: 2023-01-23 21:17 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46575 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46575 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-01-23 21:17 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.0.6 Component: Qt-client Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Qt gui_main.cpp has 'qapp' as a static variable. Number of other source files use it as 'extern'. We've been lucky (or unlucky?) that it has been working so far. Now I got linking error with clang64 toolchain on msys2 because of this. -- 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/46575 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46575