public import and bugs it causes
Anders F Björklund
afb at algonet.se
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__...
http://wxd.cvs.sourceforge.net/viewvc/wxd/wxd/wx/common.d?r1=1.18&r2=1.19
Hopefully that should work around the issue. Wonder what else it breaks.
--anders
More information about the Digitalmars-d
mailing list