#44886: AmigaOS build failure "if (tv.tv_sec < 0) {" always false Open Date: 2022-06-20 20:10 Last Update: 2022-06-24 22:42 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44886 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44886 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-24 22:42 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from (None) to 3.0.3 Comment: Patch also for S2_6 attached - after all the main point of keeping S2_6 around is supporting exotic systems where newer branches are harder to port. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.3 Component: Server Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Cross-compiling S3_0 to AmigaOS: ../../../src/server/sernet.c: In function 'flush_packets': ../../../src/server/sernet.c:366:19: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits!] 366 | if (tv.tv_sec < 0) { -- 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/44886 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44886