libgcrypt fails to compile with Xcode 9 against iOS 11 SDK
chris at chatsecure.org
Fri Sep 29 21:00:18 CEST 2017
This affects 1.7.x (and probably lower) through 1.8.1. The issue is that
calling 'system()' is not allowed on iOS and is a now compile error with
the latest Xcode 9 / iOS 11 toolchain.
For now I will just comment out the system() calls, but I'll submit a
better ifdef patch when I get around to it.
random.c:556:11: error: 'system' is unavailable: not available on iOS
if (system (cmdline))
'system' has been explicitly marked unavailable here
int system(const char *) __DARWIN_ALIAS_C(system);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gcrypt-devel