AndrejMitrovic/DMagickSamples — Issue #1: dmd not liking string enums
Author: p0nce
Created: 2011-11-07 02:26:45+00:00
State: open

Compiling DMagick in debug mode in Windows with dmd 2.056.

dmd does not compile the string enums in dmagick.DrawingContext (FontEncoding and FontWeight).

This does not occur in release build.
As a work-around I changed them to integer enums.

I don't know if it's a dmd bug, but as std.conv.to!string converts an enum value to the right string maybe you don't need string enums.