URL:
<http://gna.org/patch/?7156>
Summary: Disable nonnull-compare -errors from gcc6
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 26 Apr 2016 03:43:49 PM EEST
Category: bootstrap
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.5.4, 2.6.0, 3.0.0
_______________________________________________________
Details:
A lot of our sanity checking fc_assert()'s cause gcc6 to emit warning (->
error on --enable-debug builds) about comparison against NULL when the other
side can't be NULL (yes! it wouldn't be an assert() if it was not supposed to
be always true).
Attached fix just disables those warnings, and that's probably all we want to
have in 2.5.4. Later we may try to make finer adjustments for this.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 26 Apr 2016 03:43:49 PM EEST Name: NoNonnull.patch Size: 827B
By: cazfi
<http://gna.org/patch/download.php?file_id=27212>
-------------------------------------------------------
Date: Tue 26 Apr 2016 03:43:49 PM EEST Name: NoNonnull-S2_5.patch Size: 801B
By: cazfi
<http://gna.org/patch/download.php?file_id=27213>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?7156>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev