December 12, 2003 Module declaration when dmd -c foo\bar.d | ||||
---|---|---|---|---|
| ||||
Module declaration of foo.bar is as follow: 1) If "dmd -offoo\bar.d -c foo\bar.d", "module foo.bar;". 2) If "cd foo; dmd -c bar.d", "module bar;". 1) is inconvenient and less portable. I think that "module bar;" should be used in both cases. Robert (Japanese) |
Copyright © 1999-2021 by the D Language Foundation