No error message in DMD 2.078.2

psychoticRabbit meagain at meagain.com
Tue Feb 13 05:59:17 UTC 2018


On Tuesday, 13 February 2018 at 05:51:05 UTC, Domain wrote:
> module main;
>
> void main ()
> {
>     writeln("Hello");
> }
>
> Of course, this won't compile, but error message is confused:
>
> C:\Git\hello\source>dmd app.d
> app.d(5): Error:
> object.Error@(0): Access Violation
> ----------------
> 0x0065445A
> 0x006548FE
> 0x0064DBD3
> 0x004B0B90
> 0x004B8A02
> 0x00594813
> 0x005797E2
> 0x77E40608 in RtlAllocateHeap
> 0x77E3EB5E in RtlAllocateHeap
> 0x77E2DD5A in RtlRandom
> 0x004E0F98
> 0x005B6D16
> 0x0047BFCA
> 0x005DD152

erh?

I get a good enough error message(v2.078.2)

Exit code is: 1
..Error: `writeln` is not defined, perhaps `import std.stdio;` is 
needed?

Sounds more like you have env issues.



More information about the Digitalmars-d-learn mailing list