winsamp.d and -O
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Jun 14 14:42:11 PDT 2011
On 14.06.2011 16:18, . wrote:
> The winsamp.d is distributed with DMD. It's OK when being built like
> this:
> dmd winsamp gdi32.lib winsamp.def
>
> However, running this:
> dmd -O winsamp gdi32.lib winsamp.def
> will issue a error message:
> winsamp.d(35): Error: null dereference in function WindowProc
>
> Check it, you will get this:
> *(cast(int*) null) = 666;
>
> Before firing a bug, I want to make sure about it.
>
>
Seems like a bad joke, so file a bug.
In all honesty it's not a good way to greet beginners.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list