HaxeFoundation / HaxeFoundation/hxcpp

Compilation fails on Apple iOS v11.3 target

Open
#717 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

I tried compiling a project to iOS, using `iphoneOS 11.3 sdk`, build failed with the following error:

```
Error: /usr/local/lib/haxe/lib/hxcpp/3,4,188/src/hx/libs/std/Sys.cpp:271:17: error: call to unavailable function 'system': not available on iOS
int result = system(cmd.__s);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/include/stdlib.h:195:6: note: candidate function has been explicitly made unavailable
int system(const char *) __DARWIN_ALIAS_C(system);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.