DMD crashed because of "-version=Win32"

Jari-Matti Mäkelä jmjmak at utu.fi.invalid
Thu Dec 14 10:04:35 PST 2006


Justin C Calvarese wrote:
> zhang wrote:
>> This cammand
>>     dmd -version=Win32 test.d
>> will raise a OS error.

> But even an invalid switch shouldn't crash the compiler or cause a blue
> screen on kernel panic or anything crazy like that. So if the invalid
> switch didn't just yield a helpful error message (such as "predefined
> version identifier 'Win32' can't be set at the command line"), then it
> would be good to file a detailed description of what caused the compiler
> to malfunction at http://d.puremagic.com/issues/.

It says "Error: version identifier 'Win32' is reserved and cannot be
set". No need to change IMO.


More information about the Digitalmars-d-bugs mailing list