On Friday, 14 September 2018 at 15:42:05 UTC, Jesse Phillips wrote:
On Friday, 14 September 2018 at 05:41:41 UTC, rmc wrote:

I do wonder if `dmd` by itself on the command line works. Could it be some sort of 32 bit bug in the latest release of dmd? Relating to argc/argv.


"source/dub/compilers/compiler.d(127)"

That doesn't look like DMD source code.

Yip, that link is to where dub uses dmd (showing the specific error) and the other link is to a line in dmd that throws the initial error. The mars.d file is part of dmd.

The line in dmd appears to be a safety check that makes sure there is at least one argument in argv.

To me it seems really weird that dmd would be able to reach the trymain function with `argc < 1 || !argv` or with argc >= 1 and one of the arguments being null.

R

Reply via email to