The following code bypasses immutabililty with GDC but not DMD

Iain Buclaw ibuclaw at ubuntu.com
Fri Apr 12 03:03:41 PDT 2013


On 12 April 2013 10:56, John Colvin <john.loughran.colvin at gmail.com> wrote:

> On Friday, 12 April 2013 at 07:53:13 UTC, Nicholas Smith wrote:
>
>> On Friday, 12 April 2013 at 06:39:04 UTC, Iain Buclaw wrote:
>>
>>> On Friday, 12 April 2013 at 00:50:03 UTC, Nicholas Smith wrote:
>>>
>>>> I don't know how to file bug reports but I'm sure this shouldn't happen
>>>> :)
>>>> DMD gives an error.
>>>>
>>>>
>>> That's a bug in the frontend, which has since been fixed and merged into
>>> gdc.
>>>
>>> Just how old is your compiler? :)
>>>
>>
>> It's from the Ubuntu Software Centre, apparently version 4.6.3.
>> Not sure how old that is (latest is around 4.8 right?), but I don't have
>> the latest build. I haven't bothered to keep that up to date :)
>>
>> If it's fixed in the current version then hooray.
>>
>
> IIRC, in GDC time, you're in the distant past.
>

In D time, you're a Neanderthal.

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130412/edfa3967/attachment.html>


More information about the D.gnu mailing list