James Pelcis wrote: > If you are writing a program that will only work on Windows, it would be > necessary to use this... > > version (Windows) > else > { > static assert (0); > } Instead of: ... windows code ... version (Windows) else static assert(0); I suggest: version (Windows) ... windows code ... else static assert(0);