Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #852681

Configure check for C11 threads

Added by Marko Lindqvist almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Bootstrap
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Glibc now (since 2.28) finally supports C11 threads. We have C11 threads implementation of fc_threads already in place. So far it has been available only via tinythread.
Now that we can also test such a thing, add configure check for direct availability of C11 threads.

History

#2 Updated by Marko Lindqvist almost 2 years ago

S3_0 needed a fix for ruledit to compile cleanly.

#3 Updated by Marko Lindqvist almost 2 years ago

Marko Lindqvist wrote:

S3_0 needed a fix for ruledit to compile cleanly.

...but that fix was wrong. The real error is that the FREECIV_HAVE_C11_THREADS macro is not defined in freeciv_config.h as it should since it's used in headers.
The error, affecting also support of custom AI modules, was present in master though there it was not causing compilation error of freeciv itself.

#4 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF