Any workaround for bug 24118?

Paolo Invernizzi paolo.invernizzi at gmail.com
Tue Sep 5 14:39:07 UTC 2023


On Tuesday, 5 September 2023 at 14:32:17 UTC, user1234 wrote:
> On Tuesday, 5 September 2023 at 13:19:15 UTC, Paolo Invernizzi 
> wrote:
>> Hi all,
>>
>> Actually we are unable to build any tools on Apple Silicon due 
>> to issue 24118 [1]:
>> Someone can suggest a workaround?
>
> Hello, I have just found that `if( __ctfe && true)` works.
>

That's a perfect workaround for here and now, thank you!

I've just tested that the code is compiling fine on dmd-nightly, 
so I guess it was fixed somehow in main.

/P




More information about the Digitalmars-d mailing list