I create a new project with : `dub init myproj`.
Then I change the source/app.d file with this :
`
import std.stdio;
import std.math;
import std.stdio;
import std.conv;
import std.format;
import std.math;
import std.algorithm;
On Thursday, 16 September 2021 at 20:49:28 UTC, seany wrote:
I create a new project with : `dub init myproj`.
Then I change the source/app.d file with this :
[...]
PS :compiling with : `dub build -b release ` ( i.e. no ldc2) is a
direct segfault of the code posted above.
PPS : my system is
On Thursday, 16 September 2021 at 20:49:28 UTC, seany wrote:
I compile with : `dub build -b release --compiler=ldc2`
The result executing the compiled binary 'myproj' is is (
whether `writeln (a[1])` is uncommented, or the `test()`
function is uncommented) some random number, usually negativ