URL:
<http://gna.org/patch/?6092>
Summary: Make compilation to work with gcc-5
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 17 May 2015 03:48:32 PM EEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.5.1, 2.6.0, 3.0.0
_______________________________________________________
Details:
Compilation with gcc-5 fails to:
server/stdinhand.c:3530:13: error: array subscript is above array bounds
[-Werror=array-bounds]
free(arg[i]);
That seems like false positive, but adding an assert (checking code it emits)
is required to make compiler to believe that.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 17 May 2015 03:48:32 PM EEST Name: Gcc5.patch Size: 410B By:
cazfi
<http://gna.org/patch/download.php?file_id=24507>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6092>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev