D - Module declaration when dmd -c foo\bar.d
- Robert (6/6) Dec 12 2003 Module declaration of foo.bar is as follow:
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)
Dec 12 2003