Alex Rønne Petersen:

> The problem is that DMD defines *all* version identifiers regardless of 
> whether CTFE is active. I guess it's just a matter of removing the 
> inline assembly identifiers when doing CTFE.

Do you remember why the  __ctfe is a run-time variable instead of a more right 
compile-time constant/version? I remember that Walter was not able to define it 
as a compile-time constant. So I don't know if it is possible to remove the 
inline assembly identifiers when doing CTFE.

Bye,
bearophile

Reply via email to