This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 54489a1
committed
[[ Bug 22946 ]] Update the engine to compile with Xcode 12
Changes:
1. Remove unused deprecated Framework that caused compile error on iOS 14 …
Fixes compile error:
- error: expected '('
MP_DEPRECATED_BEGIN("Use AVPlayerViewController in AVKit.", ios(3.2, 9.0))
^- error: expected 'push' or 'pop' after '#pragma clang attribute'
2. Fix error "implicit declaration of function X' is invalid in C99" by adding a proper flag in ios.gypi
3. Removed notifications code for iOS < 8, since the oldest iOS version we support is 8.0.
Fixes error:
error: no matching function for call to 'objc_msgSend'
objc_msgSend([UIApplication sharedApplication], sel_getUid("registerForRemoteNotificationTypes:"), t_allowed_notifications);
4. Added inclusion of missing header.
Fixes error:
/Users/administrator/Vulcan/slaves/build-mac-4-1/slave/try-community-universal-ios-iphoneos14_0/checkout/toolchain/lc-compile-ffi-java/src/main.c:73:17: error: implicit declaration of function 'SetOutputFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
SetOutputFile(argv[++argi]);
^
/Users/administrator/Vulcan/slaves/build-mac-4-1/slave/try-community-universal-ios-iphoneos14_0/checkout/toolchain/lc-compile-ffi-java/src/main.c:78:17: error: implicit declaration of function 'SetOutputLCBFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
SetOutputLCBFile(argv[++argi]);
^
/Users/administrator/Vulcan/slaves/build-mac-4-1/slave/try-community-universal-ios-iphoneos14_0/checkout/toolchain/lc-compile-ffi-java/src/main.c:83:17: error: implicit declaration of function 'SetOutputLCBModuleName' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
SetOutputLCBModuleName(argv[++argi]);1 parent 590458a commit 54489a1
4 files changed
Lines changed: 23 additions & 51 deletions
File tree
- config
- engine/src
- toolchain/lc-compile-ffi-java/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
468 | 439 | | |
469 | 440 | | |
470 | 441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments