D:YAML 0.4 released
Nengwen Zhuo
soarowl at yeah.net
Tue Jan 24 02:10:08 PST 2012
>> Greate news. DMD has a bug:
>>
>> dmd -inline -release -O -lib -ofyaml.lib yaml.d
>>
>> compile fine, but:
>>
>> dmd -noboundscheck -inline -release -O -lib -ofyaml.lib yaml.d
>>
>> emit errors.
>>
> Was it a DMD bug, or did it actually compile and cause errors
> when running?
> I wasn't able to reproduce it, but I'm on Linux.
> If it's a DMD/Windows bug, it can't do much about it (although maybe
> 2.058 will help?)
>
> Or are you actually trying to compile D:YAML with that command? Use
> the CDC script in the source to do that (see the getting started
> tutorial for detailed info):
>
> ./cdc.d release
>
> That compiles the release build , which includes -O, -inline, -release
> and -noboundscheck .
>
I'm using all head version on windows: dmd, druntime and phobos.
It's a compiler bug, not run time bug.
If I use "-noboundscheck -inline -release -O" options, most projects in github
have one or other related bugs.
By the way, cdc.d con't compile, "import core.stdc;" statment needed.
More information about the Digitalmars-d-announce
mailing list