January 15, 2009 broken import gcstats in dmd-v2.023 | ||||
|---|---|---|---|---|
| ||||
the file is in dmd-v2.023/src/druntime/src/gc/basic/gcstats.d and declared: module gc.gcstats; However, if I do: import gc.gcstats; dmd says: module gcstats cannot read file 'gc/gcstats.d' if I do: import gcstats; dmd says: module gcstats cannot read file 'gcstats.d' So how do I import gcstats? | ||||
January 15, 2009 Re: broken import gcstats in dmd-v2.023 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to sa | and more fun: previously I call: std.gc.getStats(...); according to: http://digitalmars.com/d/2.0/changelog.html#new2_020 from to std.gc.*() memory.gc_*() I tried: memory.gc_getStats(gs); it says: Error: undefined identifier memory I tried: core.memory.gc_getStats(gs); it says: Error: undefined identifier module memory.gc_getStats I tried: core.memory.gc.getStats(gs); it says: Error: undefined identifier module memory.gc I tried: core.memory.getStats(gs); it says: Error: undefined identifier module memory.getStats Come on!!!!! is the release package really tested? or the doc accurate at all? == Quote from sa (sa@nowhere.com)'s article > the file is in dmd-v2.023/src/druntime/src/gc/basic/gcstats.d > and declared: module gc.gcstats; > However, if I do: > import gc.gcstats; > dmd says: module gcstats cannot read file 'gc/gcstats.d' > if I do: > import gcstats; > dmd says: module gcstats cannot read file 'gcstats.d' > So how do I import gcstats? | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply