Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
April 28, 2010 Re: Status updates (and PPA packages) for gdc | ||||
---|---|---|---|---|
| ||||
Joseph Wakeling Wrote: > > I *am* the D Packagers team in Ubuntu and Debian - it is only me > > (for the moment). :-) > > I did not see your name here ... :-) https://launchpad.net/~d-language-packagers > Oh I see, glad we sorted out that confusion then (I thought you were referring to the Deb maintainers for a moment there). In that case then, to answer your original question, I can see no reason why not in the long term. But first and foremost, I would have thought that the initial goals would be to first get it running with gcc-4.4 (if ever) and gcc-4.5. Then start expanding to other areas for a short while. However, I certainly do not dictate the direction of upstream. I merely package and see over fix arch specific bugs that arise. > ... and many thanks for your work. I'm very glad to see D making it into Debian and Ubuntu. > > Best wishes, > > -- Joe Regards Iain |
May 03, 2010 Bug in gdc-4.3 std.random? [was: Re: Status updates (and PPA packages) for gdc] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | Dear Iain, I finally got round to installing gdc-4.3 from your PPA and had a try. Unfortunately, first thing I ran into an error while compiling: ------------------------------------------- /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652: function std.random.UniformDistribution!(double,boundaries).UniformDistribution.opCall (double a, double b) does not match parameter types (double,MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)) /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652: Error: cannot implicitly convert expression (b) of type MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18) to double ------------------------------------------- The same code compiles without a whisper with dmd so I'm guessing this is an error in Phobos 2.015 ... ? Best wishes, -- Joe |
May 12, 2010 Re: Bug in gdc-4.3 std.random? [was: Re: Status updates (and PPA packages) for gdc] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joseph Wakeling | Joseph Wakeling Wrote:
> Dear Iain,
>
> I finally got round to installing gdc-4.3 from your PPA and had a try. Unfortunately, first thing I ran into an error while compiling:
>
> -------------------------------------------
> /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
> function
> std.random.UniformDistribution!(double,boundaries).UniformDistribution.opCall
> (double a, double b) does not match parameter types
> (double,MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18))
> /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
> Error: cannot implicitly convert expression (b) of type
> MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)
> to double
> -------------------------------------------
>
> The same code compiles without a whisper with dmd so I'm guessing this is an error in Phobos 2.015 ... ?
>
> Best wishes,
>
> -- Joe
Does dmd-2.015 compile the code correctly?
I have not used D2, to be honest, but from the errors emitted, looks like you are calling a function with incompatible datatypes as arguments.
Regards
|
Copyright © 1999-2021 by the D Language Foundation