Re: In/out contract inheritance in gdc

2012-04-17 Thread Joseph Rushton Wakeling
On 17/04/12 22:56, Iain Buclaw wrote: I can't reproduce this or the bug in puremagic on my build, so I will go on the assumption this will be fixed in the 4.7.0 package due to ship with Ubuntu at the end of the month. Oh, fantastic! Very pleased to hear that 4.7.0 will be making it into Precis

Re: In/out contract inheritance in gdc

2012-04-17 Thread Iain Buclaw
On 14 April 2012 02:17, Joseph Rushton Wakeling wrote: > On 14/04/12 02:11, Leandro Lucarella wrote: >> >> Doesn't look exactly like the same problem, but just in case, you might >> want to take a look at this bug: >> http://d.puremagic.com/issues/show_bug.cgi?id=7699 > > > Hmmm.  Compiling still

Re: In/out contract inheritance in gdc

2012-04-17 Thread Daniel Green
On 4/17/2012 9:44 AM, Joseph Rushton Wakeling wrote: Shall I make a new bug report? Is it preferred at BitBucket or GitHub? Please do. We're still using BitBucket at the moment.

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Joseph Rushton Wakeling
On 17/04/12 16:27, Iain Buclaw wrote: It'll be in 4.7.0 and later. :) Cool. :-) Are there any plans to maintain a PPA to package this for earlier Debian/Ubuntu releases? Could be tricky I guess, as these only have GCC 4.6 and earlier.

Re: In/out contract inheritance in gdc

2012-04-17 Thread Joseph Rushton Wakeling
On 14/04/12 02:11, Leandro Lucarella wrote: Doesn't look exactly like the same problem, but just in case, you might want to take a look at this bug: http://d.puremagic.com/issues/show_bug.cgi?id=7699 Here's a minimal(-ish) example that reproduces the problem (with or without -inline statement

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Iain Buclaw
On 17 April 2012 15:14, Joseph Rushton Wakeling wrote: > On 17/04/12 15:58, Trass3r wrote: >> >> >> https://bitbucket.org/goshawk/gdc/issue/283/gdmd-libraries-not-put-into-od-dir > > > Ah, cool.  This fix didn't make it into the 4.6.3 release, I take it. :-( > It'll be in 4.7.0 and later. :) --

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Joseph Rushton Wakeling
On 17/04/12 15:58, Trass3r wrote: https://bitbucket.org/goshawk/gdc/issue/283/gdmd-libraries-not-put-into-od-dir Ah, cool. This fix didn't make it into the 4.6.3 release, I take it. :-(

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Trass3r
gdmd [a lot of sources] -lib -odgenerated -oflibscid.a ... which if run, produces the "generated" subdir but places the output file libscid.a in the current directory. This happens consistently, even if the "generated" dir already exists. https://bitbucket.org/goshawk/gdc/issue/283/gdm

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Joseph Rushton Wakeling
On 17/04/12 13:05, Iain Buclaw wrote: I think 'subdir' must exist for that to work, but I might be wrong. It's only a perl script so in theory should be easily solvable by anyone willing. :~) Well, here's the situation. I've pulled a copy of the SciD code[1] and tweaked the build script to re

Re: -od (outputdir) build flag for gdmd

2012-04-17 Thread Iain Buclaw
On 17 April 2012 03:30, Andrej Mitrovic wrote: > On 4/15/12, Joseph Rushton Wakeling wrote: >> Hello all, >> >> Is gdmd missing the -od flag (outputdir for built objects) that dmd >> provides? > > It seems to work just fine? Object files get dumped into the output > dir just like with dmd. > E.g.