On Tuesday, 18 January 2022 at 16:25:45 UTC, Anonymouse wrote:
What can I *reasonably* do here? Do I *have* to compile LDC
from source, to get debug symbols? How else can I reduce it
when it doesn't say what goes wrong?
[-1073741819 == 0xc005 => access violation]
Some options:
1. This
Compiling the project without: version "Colours" works
So the problem lies here in this struct:
https://github.com/zorael/kameloso/blob/9ccff29ead6ca2e80e2db0f06085c751326ed578/source/kameloso/constants.d#L320
On Tue, Jan 18, 2022 at 05:41:34PM +, Anonymouse via Digitalmars-d-learn
wrote:
> On Tuesday, 18 January 2022 at 17:37:27 UTC, H. S. Teoh wrote:
> > > Bypassing dub and calling the raw ldc command gives no output.
> > > What else can I do?
> >
> > What does `echo $?` print immediately after
On Tuesday, 18 January 2022 at 17:37:27 UTC, H. S. Teoh wrote:
Bypassing dub and calling the raw ldc command gives no output.
What else can I do?
What does `echo $?` print immediately after you run the raw ldc
command?
T
It exits with 5. I could look for that, certainly.
ite command, so
> > that it doesn't reduce it past the actual problem case.
[...]
> Yes, but the only thing I have to go on is dub reporting `-1073741819`, so I
> just made a script that grepped for that.
>
> ```
> #!/bin/sh
> dub.exe build --compiler=ldc2 2>&1 |
to go on is dub reporting
`-1073741819`, so I just made a script that grepped for that.
```
#!/bin/sh
dub.exe build --compiler=ldc2 2>&1 | grep "ldc2 failed with exit
code -1073741819"
```
It was not unique enough an error and I ended up with some empty
files that didn't
On Tue, Jan 18, 2022 at 04:25:45PM +, Anonymouse via Digitalmars-d-learn
wrote:
> I did a big sweep through my project and changed all `writefln`s and
> `format`s and the such to take their format patterns as compile-time
> parameters, and now ldc can no longer build it on Windows. It works
I did a big sweep through my project and changed all `writefln`s
and `format`s and the such to take their format patterns as
compile-time parameters, and now ldc can no longer build it on
Windows. It works on linux, and dmd has no problems with it.
There is no error message beyond "failed