JNewt
Joined: 05 Jun 2008 Posts: 69
|
Posted: Fri Feb 26, 2010 5:58 pm Post subject: Update lodepng to work with 1.055? |
|
|
Has anyone fixed lodepng to work with the more recent versions of DMD? I was able to build it successfully a while ago, but now, with DMD 1.055, I get lots of build errors. They seemed to be related to template mixins, so I'm guessing that either DMD regressed or tightened something up.
Sample errors:
Code: | lodepng/Decode.d(512): Error: cannot evaluate _enforce("filterType >= 0 && filterType <= 4","wrong filter byte: image corrupt?") at compile time
lodepng/Decode.d(512): Error: argument to mixin must be a string, not (_enforce("filterType >= 0 && filterType <= 4","wrong filter byte: image corrupt?"))
lodepng/Decode.d(512): Error: cannot evaluate _enforce("filterType >= 0 && filterType <= 4","wrong filter byte: image corrupt?") at compile time
|
|
|