On Wednesday, 16 October 2024 at 13:10:34 UTC, Mark Bauermeister wrote:
I think I got every compiler complaint fixed now. However, upon launch the program immediately quits with "Error Program exited with code -11". I assume that's a segfault, right?

https://gist.github.com/markusbkk/442a571353a48c5377c503e7d02570fb

Yes, an exitstatus of -11 is an SIGSEGV, like in any other unix/linux program.

One thing that you might wanna change is your ARRAY_LEN function: D already supports getting the length of an array with the `.length` property on arrays. Also the `x.sizeof` divided through itself will always only yield `1`.

Reply via email to