September 03, 2018
On Sunday, 2 September 2018 at 22:04:11 UTC, Mike Franklin wrote:
>> I guess we should keep an eye on this for the next releases, could you
>> take care of this Mike?
>
> Take care of what exactly?  What specifically needs to be done?

Testing Windows installation of at least the first beta and the actual release for whether Windows Defender et.al. try to scare away people.
September 03, 2018
On Sunday, 2 September 2018 at 15:51:37 UTC, lurker wrote:
> if i remember correctly (5.), it wants a different/other version of the tool chain.
> never the less, i'll continue using c# and not install (1.) again, since in earlier versions of D i eventually had to deinstall VS2017 and then reinstall it fresh. too much work.
> btw, 1. was the only plugin i had.

Maybe check your environment variables for leftover entries from previous installations. Without a more concrete bug report it's hard to help you though, try https://issues.dlang.org/.
Also there is some initial work on an alternative toolchain based on lld and mingw import libs to avoid the heavy VS installation.
September 04, 2018
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
> Glad to announce D 2.082.0.
>
> This release comes with more efficient update functions for associative arrays, unsafe code in debug blocks, UDAs for function parameters, an improved dependency resolution and avoidance of online update checks for dub, and signed Windows binaries.
>
> http://dlang.org/download.html http://dlang.org/changelog/2.082.0.html
>
> -Martin

I found changes in std.math make some codes not working anymore

https://dlang.org/changelog/2.082.0.html#math_float_double_implementations

// working in 2.081.2, not 2.082.0
import std.math;
import std.stdio;

void main() {
    static d = exp(-1.0);
}

// error in 2.082.0
/home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2360): Error: static variable P cannot be read at compile time
/home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2360):        called from here: poly(xx, P)
/home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2221):        called from here: expImpl(x)
/home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2225):        called from here: exp(cast(real)x)
./test.d(5):        called from here: exp(-1)
Failed: ["/home/skarita/dlang/dmd-2.082.0/linux/bin64/dmd", "-v", "-o-", "./test.d", "-I."]

Is there any workaround to avoid this?
September 04, 2018
On Tuesday, 4 September 2018 at 03:56:25 UTC, Shigeki Karita wrote:
> Is there any workaround to avoid this?

Please file a regression under https://issues.dlang.org/.
One workaround for now would be to initialize the variable at runtime, e.g.

```d
static double d;
shared static this() { d = exp(-1.0); }
```
September 04, 2018
On Tuesday, 4 September 2018 at 10:51:32 UTC, Martin Nowak wrote:
> On Tuesday, 4 September 2018 at 03:56:25 UTC, Shigeki Karita wrote:
>> Is there any workaround to avoid this?
>
> Please file a regression under https://issues.dlang.org/.
> One workaround for now would be to initialize the variable at runtime, e.g.
>
> ```d
> static double d;
> shared static this() { d = exp(-1.0); }
> ```

I reported it there. Thanks.
September 04, 2018
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
> Glad to announce D 2.082.0.
>
> This release comes with more efficient update functions for associative arrays, unsafe code in debug blocks, UDAs for function parameters, an improved dependency resolution and avoidance of online update checks for dub, and signed Windows binaries.
>

The blog announcement:
https://dlang.org/blog/2018/09/04/dmd-2-082-0-released/

Reddit:
https://www.reddit.com/r/programming/comments/9cw2mp/release_20820_of_dmd_the_d_reference_compiler/

1 2
Next ›   Last »