public import and bugs it causes

Anders F Björklund afb at
Fri May 14 08:25:29 PDT 2010

Alex Makhotin wrote:

> Today I found a strange bug in my code which was caused by 'public 
> import' declaration from the wxD library.
> The library imports publicly the 'std.compiler' module from Phobos.
> And it has the 'const string name;' declaration.

I removed the 'std.compiler' import and replaced it with __VERSION__...

Hopefully that should work around the issue. Wonder what else it breaks.


More information about the Digitalmars-d mailing list