Object cleanup and weak references

Max Bolingbroke "batterseapower{no" at sp4/\\/\\}hotmail.com
Sun Oct 29 02:18:05 PST 2006

Max Bolingbroke wrote:
  > Wow, I have no idea what that code is doing noodling around in Ds
> internals, but if it works I will be a very happy man. Unfortunately, my 
> project fails to compile after adding this code:
> F:\Programming\Current\Destroyed>bud main -cleanup -debug -g 
> -I.\..\;D:\D\dmd\src\ext -of.\bin\Destroyed.exe -w
> D:\D\dmd\src\phobos\internal\gc\gcx.d(42): module win32 cannot read file 
> 'win32.d'
> Although it seems that win32.d lives in the same directory as gcx.d... 
> can someone point out what newbie mistake am I making? :-)
> Thanks a lot for your help Bill!
> Max

Well, I solved the issue just by blindly adding 
-ID:\D\dmd\src\phobos\internal\gc\ to my DMD options: I have no idea why 
this would be required, but it works a treat now! I owe a debt of 
gratitude to Thomas for his awesome code :-).


More information about the Digitalmars-d-learn mailing list