dmd 1.047 and 2.032 releases

Walter Bright newshound1 at digitalmars.com
Mon Sep 7 12:40:13 PDT 2009


Don wrote:
> Walter Bright wrote:
>> Don wrote:
>>> Oh. And the D1 spec doesn't disallow inline asm in CTFE.
>>> But CTFE asm is Not Going To Happen. <g>
>>
>> I think that eventually we can get all of SafeD to work in CTFE, but 
>> inline asm isn't part of SafeD!
> 
> SafeD doesn't appear to be properly defined in the spec. And certainly 
> not mentioned in the CTFE section. Maybe it should be. Of course, very 
> little of SafeD is currently implemented. Should Bartosz' article be 
> taken as authoritative? (eg, he says 'union' is not permitted in SafeD, 
> so CTFE should probably ban it).

Certainly unions that alias references with non-references should not be 
permitted, but aliasing an int with a float should be permitted.


More information about the Digitalmars-d-announce mailing list