Thread overview
[Bug 76] dyn. array length++ fails
Sep 03, 2013
Iain Buclaw
Sep 03, 2013
Iain Buclaw
Sep 03, 2013
Ramon
Sep 03, 2013
H. S. Teoh
Sep 03, 2013
Iain Buclaw
Sep 03, 2013
Iain Buclaw
Sep 03, 2013
H. S. Teoh
Sep 03, 2013
Ramon
Sep 04, 2013
Ramon
Sep 04, 2013
Iain Buclaw
September 03, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=76

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-09-03 15:41:44 UTC ---
Not sure if your d frontend version is as you say it is...  I get no problems checking on current development.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
September 03, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=76

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-09-03 15:43:14 UTC ---
also, gcc-4.6 is rather old, I'd suggest switching over to gcc-4.7/4.8.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
September 03, 2013
On Tuesday, 3 September 2013 at 15:43:26 UTC, Iain Buclaw wrote:
> http://bugzilla.gdcproject.org/show_bug.cgi?id=76
>
> --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-09-03 15:43:14 UTC ---
> also, gcc-4.6 is rather old, I'd suggest switching over to gcc-4.7/4.8.

(on Linux Mint 15, up-to-date)

$ dmd
DMD32 D Compiler v2.063.2

$ gdc --version
gdc (Ubuntu/Linaro 4.6.3-4ubuntu1) 4.6.3

$ gcc --version
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2

Thanks -R
September 03, 2013
On Tue, Sep 03, 2013 at 11:05:10PM +0200, Ramon wrote:
> On Tuesday, 3 September 2013 at 15:43:26 UTC, Iain Buclaw wrote:
> >http://bugzilla.gdcproject.org/show_bug.cgi?id=76
> >
> >--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org>
> >2013-09-03 15:43:14 UTC ---
> >also, gcc-4.6 is rather old, I'd suggest switching over to
> >gcc-4.7/4.8.
> 
> (on Linux Mint 15, up-to-date)
> 
> $ dmd
> DMD32 D Compiler v2.063.2
> 
> $ gdc --version
> gdc (Ubuntu/Linaro 4.6.3-4ubuntu1) 4.6.3
> 
> $ gcc --version
> gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
> 
> Thanks -R

Hmm. Has the newest gdc packages not made it into Ubuntu yet? You could try installing the .deb's directly from here:

	ftp://ftp.debian.org/debian/pool/main/g/gcc-4.8/
	(look for packages named gdc-4.8_4.8.1-9_${your_architecture}.deb)

It *should* be installable if your system is reasonably up-to-date.


T

-- 
Turning your clock 15 minutes ahead won't cure lateness---you're just making time go faster!
September 03, 2013
On 3 September 2013 22:05, Ramon <spam@thanks.no> wrote:
> On Tuesday, 3 September 2013 at 15:43:26 UTC, Iain Buclaw wrote:
>>
>> http://bugzilla.gdcproject.org/show_bug.cgi?id=76
>>
>> --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-09-03
>> 15:43:14 UTC ---
>> also, gcc-4.6 is rather old, I'd suggest switching over to gcc-4.7/4.8.
>
>
> (on Linux Mint 15, up-to-date)
>
> $ dmd
> DMD32 D Compiler v2.063.2
>
> $ gdc --version
> gdc (Ubuntu/Linaro 4.6.3-4ubuntu1) 4.6.3
>
> $ gcc --version
> gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
>
> Thanks -R

I don't recall how old that gdc package is...  but it is old. :o)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
September 03, 2013
On 3 September 2013 22:20, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> On Tue, Sep 03, 2013 at 11:05:10PM +0200, Ramon wrote:
>> On Tuesday, 3 September 2013 at 15:43:26 UTC, Iain Buclaw wrote:
>> >http://bugzilla.gdcproject.org/show_bug.cgi?id=76
>> >
>> >--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org>
>> >2013-09-03 15:43:14 UTC ---
>> >also, gcc-4.6 is rather old, I'd suggest switching over to
>> >gcc-4.7/4.8.
>>
>> (on Linux Mint 15, up-to-date)
>>
>> $ dmd
>> DMD32 D Compiler v2.063.2
>>
>> $ gdc --version
>> gdc (Ubuntu/Linaro 4.6.3-4ubuntu1) 4.6.3
>>
>> $ gcc --version
>> gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
>>
>> Thanks -R
>
> Hmm. Has the newest gdc packages not made it into Ubuntu yet? You could try installing the .deb's directly from here:
>
>         ftp://ftp.debian.org/debian/pool/main/g/gcc-4.8/
>         (look for packages named gdc-4.8_4.8.1-9_${your_architecture}.deb)
>
> It *should* be installable if your system is reasonably up-to-date.
>

The package made it into debian unstable about 2-3 months ago... so it will be in ubuntu+1

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
September 03, 2013
On Tue, Sep 03, 2013 at 10:23:00PM +0100, Iain Buclaw wrote:
> On 3 September 2013 22:05, Ramon <spam@thanks.no> wrote:
> > On Tuesday, 3 September 2013 at 15:43:26 UTC, Iain Buclaw wrote:
> >>
> >> http://bugzilla.gdcproject.org/show_bug.cgi?id=76
> >>
> >> --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-09-03
> >> 15:43:14 UTC ---
> >> also, gcc-4.6 is rather old, I'd suggest switching over to gcc-4.7/4.8.
> >
> >
> > (on Linux Mint 15, up-to-date)
> >
> > $ dmd
> > DMD32 D Compiler v2.063.2
> >
> > $ gdc --version
> > gdc (Ubuntu/Linaro 4.6.3-4ubuntu1) 4.6.3
> >
> > $ gcc --version
> > gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
> >
> > Thanks -R
> 
> I don't recall how old that gdc package is...  but it is old. :o)
[...]

I vaguely remember using it, oh, about a year ago? Maybe more?


T

-- 
Many open minds should be closed for repairs. -- K5 user
September 03, 2013
I was thinking anyway going back to debian (or a rolling system like aptosid). Mint was just a more digestible version of ubuntu (yuck) which again was just a cheap way to escape debians stubborn anti-non-free-drivers.

With open source graphic drivers now in a useable state (I don't care about 3D) I'm going back anyway.

As soon as it's installed and running gdc-4.8 I'll report about the array.length non being an lval issue.

The really, really important point for me is that GDC seems to be quite reliable and does support debugging. And in that regard Iain just today (in the other thread) gave me a lot of confidence.

Thanks again so much, Iain! ;)
September 04, 2013
Iain,

I'm very pleased to inform you that this issue is solved in gdc-4.8.

I test installed aptosid and gdc 4.8 and my code compiles fine.

Thank you so much for your work, Iain! :)

A+ -R
September 04, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=76

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.