darwin version for IOS not work anymore

workman workman at gmail.com
Thu Jul 29 07:45:13 UTC 2021


On Wednesday, 28 July 2021 at 15:42:38 UTC, rikki cattermole 
wrote:
> 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

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.


More information about the digitalmars-d-ldc mailing list