URL:
<http://gna.org/bugs/?22362>
Summary: C11 Static Assert configure check giving false
positives
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 18 Jul 2014 01:32:37 AM EEST
Category: bootstrap
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0
_______________________________________________________
Details:
It's currently a compile test, and when _Static_assert() doesn't exist, the
compiler just ends up believing it to be normal function call.
Attached fix (at the moment untested, but working on it) makes it linking test
instead, so that it will notice that there's no such function to link.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 18 Jul 2014 01:32:37 AM EEST Name: StaticAssertLink.patch Size:
595B By: cazfi
<http://gna.org/bugs/download.php?file_id=21456>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22362>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev