[Freeciv-Dev] [bug #22362] C11 Static Assert configure check giving false positives

2014-07-19 Thread Marko Lindqvist
Update of bug #22362 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?22362

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22362] C11 Static Assert configure check giving false positives

2014-07-17 Thread Marko Lindqvist
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
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev