digitalmars.D.ldc - darwin version for IOS not work anymore
- workman (11/11) Jul 28 2021 This used to work, try with 1.27.0-beta3 get static assert:
- rikki cattermole (6/7) Jul 28 2021 The darwin version identifier is deprecated.
- workman (5/13) Jul 29 2021 I dont understand why just OSX get "For backwards compatibility.".
This used to work, try with 1.27.0-beta3 get static assert: `false` is false `ldmd2 -mtriple=arm64-apple-ios14.4 -betterC test.d` test.d ```d version(darwin) { } else { static assert(false); } ```
Jul 28 2021
On 29/07/2021 2:59 AM, workman wrote:version(darwin) {The darwin version identifier is deprecated. While it is still supported for OSX by the looks, its not supported for iOS. https://github.com/ldc-developers/ldc/blob/926db58d5c4aa4ebf0a085cd6a6f2d425cbfbf76/driver/main.cpp#L796 vs https://github.com/ldc-developers/ldc/blob/926db58d5c4aa4ebf0a085cd6a6f2d425cbfbf76/driver/main.cpp#L837
Jul 28 2021
On Wednesday, 28 July 2021 at 15:42:38 UTC, rikki cattermole wrote:On 29/07/2021 2:59 AM, workman wrote:I dont understand why just OSX get "For backwards compatibility.". We need a version for all apple platform, remove darwin should replace with a new one.version(darwin) {The darwin version identifier is deprecated. While it is still supported for OSX by the looks, its not supported for iOS. https://github.com/ldc-developers/ldc/blob/926db58d5c4aa4ebf0a085cd6a6f2d425cbfbf76/driver/main.cpp#L796 vs https://github.com/ldc-developers/ldc/blob/926db58d5c4aa4ebf0a085cd6a6f2d425cbfbf76/driver/main.cpp#L837
Jul 29 2021